Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 938 Bytes

OperaTaxonomyBundle.md

File metadata and controls

45 lines (32 loc) · 938 Bytes
layout title body_class
doc
OperaTaxonomyBundle
body-pink

The bundle OperaTaxonomyBundle{:target="_blank"} provide a easy way to manage tags for opera-project cms

Installation

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'] }

Usage

namespace App\Entity;

use Opera\TaxonomyBundle\Taggable\Traits\TaggableEntity;

class Article
{
    use TaggableEntity;
}

Now you can use tags for example with the OperaListBlockBundle