module_test.routing.yml 819 Bytes
Newer Older
1 2 3 4
module_test.dynamic_invoke:
  path: '/module-test/hook-dynamic-loading-invoke'
  defaults:
    _title: 'Test hook dynamic loading (invoke)'
5
    _controller: '\Drupal\module_test\Controller\ModuleTestController::hookDynamicLoadingInvoke'
6
  requirements:
7
    _access: 'TRUE'
8 9 10 11 12

module_test.dynamic_invoke_all:
  path: '/module-test/hook-dynamic-loading-invoke-all'
  defaults:
    _title: 'Test hook dynamic loading (invoke_all)'
13
    _controller: '\Drupal\module_test\Controller\ModuleTestController::hookDynamicLoadingInvokeAll'
14
  requirements:
15
    _access: 'TRUE'
16 17 18 19 20

module_test.class_loading:
  path: '/module-test/class-loading'
  defaults:
    _title: 'Test loading a class from another module'
21
    _controller: '\Drupal\module_test\Controller\ModuleTestController::testClassLoading'
22 23
  requirements:
    _access: 'TRUE'