# {{ label }} routing definition
{# Note: a content entity with bundles will have the settings configured on the bundle (config) entity. #}
{% if not bundle_entity_type %}
{{ entity_name }}.settings_tab:
  route_name: {{ entity_name }}.settings
  title: 'Settings'
  base_route: {{ entity_name }}.settings
{% else %}
entity.{{ entity_name }}_type.edit_form:
  route_name: entity.{{ entity_name }}_type.edit_form
  base_route: entity.{{ entity_name }}_type.edit_form
  title: 'Edit'
  weight: 0
{% endif %}

entity.{{ entity_name }}.canonical:
  route_name: entity.{{ entity_name }}.canonical
  base_route: entity.{{ entity_name }}.canonical
  title: 'View'

entity.{{ entity_name }}.edit_form:
  route_name: entity.{{ entity_name }}.edit_form
  base_route: entity.{{ entity_name }}.canonical
  title: 'Edit'
{% if revisionable %}

entity.{{ entity_name }}.version_history:
  route_name: entity.{{ entity_name }}.version_history
  base_route: entity.{{ entity_name }}.canonical
  title: 'Revisions'
{% endif %}

entity.{{ entity_name }}.delete_form:
  route_name:  entity.{{ entity_name }}.delete_form
  base_route:  entity.{{ entity_name }}.canonical
  title: Delete
  weight: 10
