v1/vendor/chi-teck/drupal-code-generator/templates/content-entity/model.links.menu.yml.twig

19 lines
777 B
Twig

{% if fieldable_no_bundle %}
entity.{{ entity_type_id }}.settings:
title: '{{ entity_type_label }}'
description: 'Configure {{ entity_type_label|article }} entity type.'
route_name: entity.{{ entity_type_id }}.settings
parent: system.admin_structure
entity.{{ entity_type_id }}.collection:
title: '{{ entity_type_label|pluralize }}'
description: 'List of {{ entity_type_label|pluralize|lower }}.'
route_name: entity.{{ entity_type_id }}.collection
parent: system.admin_content
{% elseif bundle %}
entity.{{ entity_type_id }}_type.collection:
title: '{{ entity_type_label }} types'
description: 'Manage and CRUD actions on {{ entity_type_label }} type.'
parent: system.admin_structure
route_name: entity.{{ entity_type_id }}_type.collection
{% endif %}