Close Action

The CategoryAction provide a small overlay to manage categories quickly.

type close
option
class Enhavo\Bundle\CategoryBundle\Action\CategoryAction

Option

collection

type: string

Define which collection should be used for the categories. If no one is set, the default category collection will be used.

actions:
    category:
        type: category
        collection: label

route

type: string

Define which route should be used for the overlay.

actions:
    myAction:
        route: my_route

label

type: string

Overwrite the default label. It will be translated over the translation service automatically (See translationDomain)

actions:
    myAction:
        label: myLabel
        # ... further option

icon

type: string

Overwrite the default icon.

actions:
    myAction:
        icon: myIcon
        # ... further option

translationDomain

type: string

Overwrite the default translationDomain. EnhavoAppBundle is used by default

actions:
    myAction:
        translationDomain: myTranslationDomain
        # ... further option