From 7ae49be5fd6418c593982abe70686b1859fe62ee Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Thu, 16 Mar 2017 12:00:29 +0100 Subject: [PATCH] Blog > Tag is now a BusinessEntity --- Bundle/BlogBundle/Entity/Tag.php | 5 +++++ Bundle/BlogBundle/Resources/translations/victoire.en.xliff | 4 ++++ Bundle/BlogBundle/Resources/translations/victoire.es.xliff | 4 ++++ Bundle/BlogBundle/Resources/translations/victoire.fr.xliff | 4 ++++ 4 files changed, 17 insertions(+) diff --git a/Bundle/BlogBundle/Entity/Tag.php b/Bundle/BlogBundle/Entity/Tag.php index d9ef7789e..40abfae50 100644 --- a/Bundle/BlogBundle/Entity/Tag.php +++ b/Bundle/BlogBundle/Entity/Tag.php @@ -4,15 +4,20 @@ use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; +use Victoire\Bundle\BusinessEntityBundle\Entity\Traits\BusinessEntityTrait; +use Victoire\Bundle\CoreBundle\Annotations as VIC; /** * Tag. * * @ORM\Table("vic_tag") * @ORM\Entity(repositoryClass="Victoire\Bundle\BlogBundle\Repository\TagRepository") + * @VIC\BusinessEntity("Listing") */ class Tag { + use BusinessEntityTrait; + /** * @var int * diff --git a/Bundle/BlogBundle/Resources/translations/victoire.en.xliff b/Bundle/BlogBundle/Resources/translations/victoire.en.xliff index 738ed15f9..8ef99647f 100644 --- a/Bundle/BlogBundle/Resources/translations/victoire.en.xliff +++ b/Bundle/BlogBundle/Resources/translations/victoire.en.xliff @@ -6,6 +6,10 @@ form.widget.tab.article.label Post + + form.widget.tab.article.label + Tags + entity_proxy.form.article.label Post diff --git a/Bundle/BlogBundle/Resources/translations/victoire.es.xliff b/Bundle/BlogBundle/Resources/translations/victoire.es.xliff index b2aba55b7..f7a216919 100644 --- a/Bundle/BlogBundle/Resources/translations/victoire.es.xliff +++ b/Bundle/BlogBundle/Resources/translations/victoire.es.xliff @@ -6,6 +6,10 @@ form.widget.tab.article.label Artículo + + form.widget.tab.article.label + Etiquetas + entity_proxy.form.article.label Artículo diff --git a/Bundle/BlogBundle/Resources/translations/victoire.fr.xliff b/Bundle/BlogBundle/Resources/translations/victoire.fr.xliff index 5becf7f7f..3e8288ffa 100644 --- a/Bundle/BlogBundle/Resources/translations/victoire.fr.xliff +++ b/Bundle/BlogBundle/Resources/translations/victoire.fr.xliff @@ -6,6 +6,10 @@ form.widget.tab.article.label Article + + form.widget.tab.article.label + Etiquettes + entity_proxy.form.article.label Article