You are here

entity_hierarchy.routing.yml in Entity Reference Hierarchy 8

File

entity_hierarchy.routing.yml
View source
  1. entity_hierarchy.admin:
  2. path: '/admin/structure/entity_hierarchy'
  3. defaults:
  4. _form: '\Drupal\entity_hierarchy\Form\AdminSettingsForm'
  5. _title: 'Entity Hierarchy'
  6. requirements:
  7. _permission: 'administer hierarchy'
  8. entity.node.entity_hierarchy_children_form:
  9. path: '/node/{node}/children'
  10. defaults:
  11. _title_callback: '\Drupal\entity_hierarchy\Controller\NodeHierarchyController::getTitle'
  12. _entity_form: 'node.entity_hierarchy_children'
  13. _title: 'Children'
  14. requirements:
  15. _permission: 'create child nodes'
  16. options:
  17. _node_operation_route: TRUE