You are here

build_hooks.routing.yml in Build Hooks 8.2

Same filename and directory in other branches
  1. 8 build_hooks.routing.yml
  2. 3.x build_hooks.routing.yml

File

build_hooks.routing.yml
View source
  1. build_hooks.hook_form:
  2. path: '/admin/config/build_hooks/settings'
  3. defaults:
  4. _form: '\Drupal\build_hooks\Form\SettingsForm'
  5. _title: 'Build Hooks Settings'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. options:
  9. _admin_route: TRUE
  10. build_hooks.deployment_form:
  11. path: '/admin/build_hooks/deployments/{frontend_environment}'
  12. defaults:
  13. _form: '\Drupal\build_hooks\Form\DeploymentForm'
  14. _title_callback: '\Drupal\build_hooks\Controller\FrontendEnvironmentTitleController::frontendDeploymentTitle'
  15. options:
  16. _admin_route: TRUE
  17. parameters:
  18. frontend_environment:
  19. type: entity:frontend_environment
  20. with_config_overrides: TRUE
  21. requirements:
  22. _permission: 'trigger deployments'
  23. build_hooks.frontend_environment_plugin_types:
  24. path: '/admin/config/build_hooks/frontend_environment_plugin_types'
  25. defaults:
  26. _controller: '\Drupal\build_hooks\Controller\FrontendEnvironmentLibraryController::listFrontendEnvironments'
  27. _title: 'Frontend environment types'
  28. requirements:
  29. _permission: 'manage frontend environments'
  30. options:
  31. _admin_route: TRUE
  32. build_hooks.admin_add:
  33. path: '/admin/config/build_hooks/frontend_environment/add/{plugin_id}'
  34. defaults:
  35. _controller: '\Drupal\build_hooks\Controller\FrontendEnvironmentAddController::frontendEnvironmentAddConfigureForm'
  36. theme: null
  37. _title: 'Add new frontend environment'
  38. requirements:
  39. _permission: 'manage frontend environments'
  40. build_hooks.admin_config_build_hooks:
  41. path: '/admin/config/build_hooks'
  42. defaults:
  43. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  44. _title: 'Build hooks'
  45. requirements:
  46. _permission: 'administer site configuration'