Important
You are browsing the documentation for version 4.2 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
OroTagBundle¶
OroTagBundle implements tags for application entities and enables users to manage tags on entity view pages, observe them in DataGrids, and use them as filtering fields in report query builders. With this bundle, admin users can enable or disable the tag feature for particular entities in the entity management UI.
Developers can also configure tags for every entity in the entity configuration metadata.
Entity Configuration¶
Tags can only be enabled for Configurable entities. To enable tags for an entity, use the @Config annotation, e.g.:
/**
...
* @Config(
* defaultValues={
* ...
* "tag"={
* "enabled"=true
* }
* ...
* }
* )
...
*/
Tags can also be enabled/disabled for an entity in the UI System > Entities > Entity Management (attribute Tagging).
Please note, Taggable interface is still supported, but deprecated. If entity implements Taggable interface, you cannot disable tagging for it in the UI.