Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 2614dd07 authored by Nicolas's avatar Nicolas
Browse files

Replace Link Alt by Link Content

parent 1770b068
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ interface ContentManagerInterface ...@@ -22,7 +22,7 @@ interface ContentManagerInterface
const IMAGE_ALT = 'image_alt'; const IMAGE_ALT = 'image_alt';
const LINK_HREF = 'link_href'; const LINK_HREF = 'link_href';
const LINK_TARGET = 'link_target'; const LINK_TARGET = 'link_target';
const LINK_ALT = 'link_alt'; const LINK_CONTENT = 'link_content';
const LINK_TITLE = 'link_title'; const LINK_TITLE = 'link_title';
/** /**
...@@ -110,11 +110,11 @@ interface ContentManagerInterface ...@@ -110,11 +110,11 @@ interface ContentManagerInterface
public function getLinkTarget(); public function getLinkTarget();
/** /**
* Get the link alt * Get the link content
* *
* @return mixed * @return mixed
*/ */
public function getLinkAlt(); public function getLinkContent();
/** /**
* Get the link title * Get the link title
...@@ -220,12 +220,12 @@ interface ContentManagerInterface ...@@ -220,12 +220,12 @@ interface ContentManagerInterface
public function setLinkTarget($linkTarget); public function setLinkTarget($linkTarget);
/** /**
* Set the link alt * Set the link content
* *
* @param $linkAlt * @param $linkContent
* @return mixed * @return mixed
*/ */
public function setLinkAlt($linkAlt); public function setLinkContent($linkContent);
/** /**
* Set the link title * Set the link title
......
...@@ -197,13 +197,13 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I ...@@ -197,13 +197,13 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I
} }
/** /**
* Get the link alt * Get the link content
* *
* @return string * @return string
*/ */
public function getLinkAlt() public function getLinkContent()
{ {
return $this->getData(self::LINK_ALT); return $this->getData(self::LINK_CONTENT);
} }
/** /**
...@@ -349,14 +349,14 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I ...@@ -349,14 +349,14 @@ class ContentManager extends AbstractModel implements ContentManagerInterface, I
} }
/** /**
* Set the link alt * Set the link content
* *
* @param $linkAlt * @param $linkContent
* @return mixed|ContentManager * @return mixed|ContentManager
*/ */
public function setLinkAlt($linkAlt) public function setLinkContent($linkContent)
{ {
return $this->setData(self::LINK_ALT, $linkAlt); return $this->setData(self::LINK_CONTENT, $linkContent);
} }
/** /**
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<column xsi:type="varchar" name="image_alt" nullable="true" length="255" comment="Content Manager Image Alt"/> <column xsi:type="varchar" name="image_alt" nullable="true" length="255" comment="Content Manager Image Alt"/>
<column xsi:type="varchar" name="link_href" nullable="true" length="255" comment="Content Manager Link Href"/> <column xsi:type="varchar" name="link_href" nullable="true" length="255" comment="Content Manager Link Href"/>
<column xsi:type="varchar" name="link_target" nullable="true" length="20" comment="Content Manager Link Target"/> <column xsi:type="varchar" name="link_target" nullable="true" length="20" comment="Content Manager Link Target"/>
<column xsi:type="varchar" name="link_alt" nullable="true" length="255" comment="Content Manager Link Alt"/> <column xsi:type="varchar" name="link_content" nullable="true" length="255" comment="Content Manager Link Content"/>
<column xsi:type="varchar" name="link_title" nullable="true" length="255" comment="Content Manager Link Title"/> <column xsi:type="varchar" name="link_title" nullable="true" length="255" comment="Content Manager Link Title"/>
<constraint xsi:type="primary" referenceId="PRIMARY"> <constraint xsi:type="primary" referenceId="PRIMARY">
<column name="entity_id"/> <column name="entity_id"/>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"image_alt": true, "image_alt": true,
"link_href": true, "link_href": true,
"link_target": true, "link_target": true,
"link_alt": true, "link_content": true,
"link_title": true "link_title": true
}, },
"index": { "index": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment