layout | title | body_class |
---|---|---|
doc |
OperaTaxonomyBundle |
body-pink |
The bundle OperaTaxonomyBundle{:target="_blank"} provide a easy way to manage tags for opera-project cms
composer require opera-project/taxonomy-bundle
# config/packages/easy_admin.yaml
imports:
- { resource: "@OperaTaxonomyBundle/Resources/config/easy_admin.yaml" }
easy_admin:
design:
menu:
#...
- { label: 'Taxonomy', children: ['Tag'] }
namespace App\Entity;
use Opera\TaxonomyBundle\Taggable\Traits\TaggableEntity;
class Article
{
use TaggableEntity;
}
Now you can use tags for example with the OperaListBlockBundle