1 {# Initial new line ensures that the new definitions starts on a new line #}
3 # {{ label }} menu items definition
4 entity.{{ entity_name }}.collection:
5 title: '{{ label }} list'
6 route_name: entity.{{ entity_name }}.collection
7 description: 'List {{ label }} entities'
8 parent: system.admin_structure
11 {# Note: a content entity with bundles will have the settings configured on the bundle (config) entity. #}
12 {% if not bundle_entity_type %}
13 {{ entity_name }}.admin.structure.settings:
14 title: {{ label }} settings
15 description: 'Configure {{ label }} entities'
16 route_name: {{ entity_name }}.settings
17 parent: system.admin_structure