Skip to content

Add entity configuration.

Compare
Choose a tag to compare
@IgorNikolaev IgorNikolaev released this 18 Apr 07:31
· 14 commits to 6 since this release
darvin_menu:
    entities:

        # Prototype
        entity:

            # Whether to allow to add entities to menu in admin panel
            admin:                true

            # Whether to show entities in slug map children
            slug_children:        true

Example:

darvin_menu:
    entities:
        AppBundle\Entity\Post:
            slug_children: false
        AppBundle\Entity\PostCategory:
            admin: false