twig_theme_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
  2. 8.9.x core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
  3. 10 core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
1 string reference to YAML keys in twig_theme_test.routing.yml
twig_theme_test_theme in core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module
Implements hook_theme().

File

core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml

View source
  1. twig_theme_test.php_variables:
  2. path: '/twig-theme-test/php-variables'
  3. defaults:
  4. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::phpVariablesRender'
  5. requirements:
  6. _access: 'TRUE'
  7. twig_theme_test.trans:
  8. path: '/twig-theme-test/trans'
  9. defaults:
  10. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::transBlockRender'
  11. requirements:
  12. _access: 'TRUE'
  13. twig_theme_test.placeholder_outside_trans:
  14. path: '/twig-theme-test/placeholder_outside_trans'
  15. defaults:
  16. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::placeholderOutsideTransRender'
  17. requirements:
  18. _access: 'TRUE'
  19. twig_theme_test_url_generator:
  20. path: '/twig-theme-test/url-generator'
  21. defaults:
  22. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::urlGeneratorRender'
  23. requirements:
  24. _access: 'TRUE'
  25. twig_theme_test_link_generator:
  26. path: '/twig-theme-test/link-generator'
  27. defaults:
  28. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::linkGeneratorRender'
  29. requirements:
  30. _access: 'TRUE'
  31. twig_theme_test_url_to_string:
  32. path: '/twig-theme-test/url-to-string'
  33. defaults:
  34. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::urlToStringRender'
  35. requirements:
  36. _access: 'TRUE'
  37. twig_theme_test_file_url:
  38. path: '/twig-theme-test/file-url'
  39. defaults:
  40. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::fileUrlRender'
  41. requirements:
  42. _access: 'TRUE'
  43. twig_theme_test_attach_library:
  44. path: '/twig-theme-test/attach-library'
  45. defaults:
  46. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::attachLibraryRender'
  47. requirements:
  48. _access: 'TRUE'
  49. twig_theme_test_registry_loader:
  50. path: '/twig-theme-test/registry-loader'
  51. defaults:
  52. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::registryLoaderRender'
  53. options:
  54. no_cache: TRUE
  55. requirements:
  56. _access: 'TRUE'
  57. twig_theme_test_renderable:
  58. path: '/twig-theme-test/renderable'
  59. defaults:
  60. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::renderable'
  61. requirements:
  62. _access: 'TRUE'
  63. twig_theme_test_embed_tag:
  64. path: '/twig-theme-test/embed-tag'
  65. defaults:
  66. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::embedTagRender'
  67. requirements:
  68. _access: 'TRUE'
  69. twig_theme_test_dump:
  70. path: '/twig-theme-test/dump'
  71. defaults:
  72. _controller: '\Drupal\twig_theme_test\TwigThemeTestController::dump'
  73. requirements:
  74. _access: 'TRUE'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.