collection-8.x-1.x-dev/collection.links.task.yml

collection.links.task.yml
collection.local_tasks:
  deriver: 'Drupal\collection\Plugin\Derivative\CollectionLocalTasks'

# Collection routing definitions
entity.collection.canonical:
  route_name: entity.collection.canonical
  base_route: entity.collection.canonical
  title: 'View'

entity.collection.edit_form:
  route_name: entity.collection.edit_form
  base_route: entity.collection.canonical
  title: 'Edit'

entity.collection.delete_form:
  route_name:  entity.collection.delete_form
  base_route:  entity.collection.canonical
  title: Delete
  weight: 10

entity.collection_type.edit_form:
  route_name: entity.collection_type.edit_form
  base_route: entity.collection_type.edit_form
  title: 'Edit'

# Collection item routing definitions
entity.collection_item.canonical:
  route_name: entity.collection_item.canonical
  base_route: entity.collection_item.canonical
  title: 'View'

entity.collection_item.edit_form:
  route_name: entity.collection_item.edit_form
  base_route: entity.collection_item.canonical
  title: 'Edit'

entity.collection_item.delete_form:
  route_name:  entity.collection_item.delete_form
  base_route:  entity.collection_item.canonical
  title: Delete
  weight: 10

entity.collection_item_type.edit_form:
  route_name: entity.collection_item_type.edit_form
  base_route: entity.collection_item_type.edit_form
  title: 'Edit'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc