diff --git a/Bundle/SeoBundle/Entity/PageSeo.php b/Bundle/SeoBundle/Entity/PageSeo.php index 895fc690f..1b6b26414 100644 --- a/Bundle/SeoBundle/Entity/PageSeo.php +++ b/Bundle/SeoBundle/Entity/PageSeo.php @@ -3,7 +3,6 @@ namespace Victoire\Bundle\SeoBundle\Entity; use Doctrine\ORM\Mapping as ORM; -use Gedmo\Mapping\Annotation as Gedmo; use Knp\DoctrineBehaviors\Model\Translatable\Translatable; use Symfony\Component\PropertyAccess\PropertyAccess; use Symfony\Component\Validator\Constraints as Assert; @@ -34,7 +33,6 @@ class PageSeo * * @ORM\Column(name="meta_title", type="string", nullable=true) * @Assert\Length(max = 60) - * @Gedmo\Translatable */ protected $metaTitle; @@ -43,7 +41,6 @@ class PageSeo * * @ORM\Column(name="meta_description", type="string", length=255, nullable=true) * @Assert\Length(max = 155) - * @Gedmo\Translatable */ protected $metaDescription; @@ -51,7 +48,6 @@ class PageSeo * @var string * * @ORM\Column(name="rel_author", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $relAuthor; @@ -59,7 +55,6 @@ class PageSeo * @var string * * @ORM\Column(name="rel_publisher", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $relPublisher; @@ -67,7 +62,6 @@ class PageSeo * @var string * * @ORM\Column(name="ogTitle", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $ogTitle; @@ -75,7 +69,6 @@ class PageSeo * @var string * * @ORM\Column(name="ogType", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $ogType; @@ -91,7 +84,6 @@ class PageSeo * @var string * * @ORM\Column(name="ogUrl", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $ogUrl; @@ -99,7 +91,6 @@ class PageSeo * @var text * * @ORM\Column(name="ogDescription", type="text", nullable=true) - * @Gedmo\Translatable */ protected $ogDescription; @@ -107,7 +98,6 @@ class PageSeo * @var string * * @ORM\Column(name="fbAdmins", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $fbAdmins; @@ -115,7 +105,6 @@ class PageSeo * @var string * * @ORM\Column(name="twitterCard", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $twitterCard = 'summary'; @@ -123,7 +112,6 @@ class PageSeo * @var string * * @ORM\Column(name="twitterUrl", type="string", length=255, nullable=true) - * @Gedmo\Translatable * @Assert\Length(max = 15) */ protected $twitterUrl; @@ -132,7 +120,6 @@ class PageSeo * @var string * * @ORM\Column(name="twitterCreator", type="string", length=255, nullable=true) - * @Gedmo\Translatable * @Assert\Length(max = 15) */ protected $twitterCreator; @@ -141,7 +128,6 @@ class PageSeo * @var string * * @ORM\Column(name="twitterTitle", type="string", length=255, nullable=true) - * @Gedmo\Translatable * @Assert\Length(max = 70) */ protected $twitterTitle; @@ -150,7 +136,6 @@ class PageSeo * @var string * * @ORM\Column(name="twitterDescription", type="string", length=255, nullable=true) - * @Gedmo\Translatable * @Assert\Length(max = 200) */ protected $twitterDescription; @@ -167,7 +152,6 @@ class PageSeo * @var string * * @ORM\Column(name="schemaPageType", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $schemaPageType; @@ -175,7 +159,6 @@ class PageSeo * @var string * * @ORM\Column(name="schemaName", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $schemaName; @@ -183,7 +166,6 @@ class PageSeo * @var string * * @ORM\Column(name="schemaDescription", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $schemaDescription; @@ -199,7 +181,6 @@ class PageSeo * @var string * * @ORM\Column(name="meta_robots_index", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $metaRobotsIndex; @@ -207,7 +188,6 @@ class PageSeo * @var string * * @ORM\Column(name="meta_robots_follow", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $metaRobotsFollow; @@ -215,7 +195,6 @@ class PageSeo * @var string * * @ORM\Column(name="meta_robots_advanced", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $metaRobotsAdvanced; @@ -223,7 +202,6 @@ class PageSeo * @var bool * * @ORM\Column(name="sitemap_indexed", type="boolean", nullable=true, options={"default" = true}) - * @Gedmo\Translatable */ protected $sitemapIndexed = true; @@ -231,7 +209,6 @@ class PageSeo * @var float * * @ORM\Column(name="sitemap_priority", type="float", nullable=true, options={"default" = "0.8"}) - * @Gedmo\Translatable */ protected $sitemapPriority = 0.8; @@ -239,7 +216,6 @@ class PageSeo * @var string * * @ORM\Column(name="sitemap_changeFreq", type="string", length=20, nullable=true, options={"default" = "monthly"}) - * @Gedmo\Translatable */ protected $sitemapChangeFreq = 'monthly'; @@ -247,7 +223,6 @@ class PageSeo * @var string * * @ORM\Column(name="rel_canonical", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $relCanonical; @@ -255,7 +230,6 @@ class PageSeo * @var string * * @ORM\Column(name="keyword", type="string", length=255, nullable=true) - * @Gedmo\Translatable */ protected $keyword;