language_test.routing.yml 1.14 KB
Newer Older
1
language_test.l_active_class:
2
  path: '/language_test/type-link-active-class'
3
  defaults:
4
    _controller: '\Drupal\language_test\Controller\LanguageTestController::typeLinkActiveClass'
5 6
  requirements:
    _access: 'TRUE'
7

8
language_test.subrequest:
9
  path: '/language_test/subrequest'
10 11 12 13
  defaults:
    _controller: '\Drupal\language_test\Controller\LanguageTestController::testSubRequest'
  requirements:
    _access: 'TRUE'
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

language_test.entity_using_original_language:
  path: '/admin/language_test/entity_using_original_language/{configurable_language}'
  defaults:
    _controller: '\Drupal\language_test\Controller\LanguageTestController::testEntity'
  requirements:
    _access: 'TRUE'

language_test.entity_using_current_language:
  path: '/admin/language_test/entity_using_current_language/{configurable_language}'
  defaults:
    _controller: '\Drupal\language_test\Controller\LanguageTestController::testEntity'
  requirements:
    _access: 'TRUE'
  options:
    parameters:
      configurable_language:
        type: entity:configurable_language
32
        # Force load in the interface text language selected for page.
33
        with_config_overrides: TRUE