You are here

content_kanban.routing.yml in Content Planner 8

modules/content_kanban/content_kanban.routing.yml

File

modules/content_kanban/content_kanban.routing.yml
View source
  1. content_kanban.kanban:
  2. path: '/admin/content-kanban'
  3. defaults:
  4. _controller: '\Drupal\content_kanban\Controller\KanbanController::showKanbans'
  5. _title: 'Content Kanban'
  6. requirements:
  7. _custom_access: '\Drupal\content_kanban\Access\AccessCheck::canAccessContentKanban'
  8. content_kanban.settings:
  9. path: '/admin/content-kanban/settings'
  10. defaults:
  11. _form: '\Drupal\content_kanban\Form\SettingsForm'
  12. _title: 'Content Kanban Settings'
  13. requirements:
  14. _permission: 'administer content kanban settings'
  15. content_kanban.update_entity_workflow_state:
  16. path: '/admin/content-kanban/update-entity-workflow-state/{entity_type}/{entity}/{state_id}'
  17. defaults:
  18. _controller: '\Drupal\content_kanban\Controller\KanbanController::updateEntityWorkflowState'
  19. requirements:
  20. _custom_access: '\Drupal\content_kanban\Access\AccessCheck::canAccessContentKanban'
  21. entity: \d+
  22. options:
  23. parameters:
  24. entity:
  25. type: entity