Newer
Older
Angie Byron
committed
test_page_test.test_page:
path: '/test-page'
defaults:
_title: 'Test front page'
catch
committed
_controller: '\Drupal\test_page_test\Controller\TestPageTestController::testPage'
Angie Byron
committed
requirements:
_access: 'TRUE'
test_page_test.render_title:
Angie Byron
committed
path: '/test-render-title'
Dries Buytaert
committed
defaults:
catch
committed
_controller: '\Drupal\test_page_test\Controller\Test::renderTitle'
Dries Buytaert
committed
requirements:
_access: 'TRUE'
test_page_test.static_title:
Angie Byron
committed
path: '/test-page-static-title'
catch
committed
_controller: '\Drupal\test_page_test\Controller\Test::staticTitle'
_title: 'Static title'
requirements:
_access: 'TRUE'
test_page_test.cached_controller:
path: '/test-page-cached-controller'
defaults:
_controller: '\Drupal\test_page_test\Controller\Test::controllerWithCache'
requirements:
_access: 'TRUE'
Alex Pott
committed
test_page_test.dynamic_title:
Angie Byron
committed
path: '/test-page-dynamic-title'
Alex Pott
committed
defaults:
catch
committed
_controller: '\Drupal\test_page_test\Controller\Test::staticTitle'
Alex Pott
committed
_title_callback: 'Drupal\test_page_test\Controller\Test::dynamicTitle'
requirements:
_access: 'TRUE'
test_page_test.admin_render_title:
Angie Byron
committed
path: '/admin/test-render-title'
defaults:
catch
committed
_controller: '\Drupal\test_page_test\Controller\Test::renderTitle'
requirements:
_access: 'TRUE'