deprecation_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/deprecation_test/deprecation_test.routing.yml
  2. 10 core/modules/system/tests/modules/deprecation_test/deprecation_test.routing.yml
  3. 11.x core/modules/system/tests/modules/deprecation_test/deprecation_test.routing.yml
core/modules/system/tests/modules/deprecation_test/deprecation_test.routing.yml
1 string reference to YAML keys in deprecation_test.routing.yml
PhpUnitBridgeTest::testErrorOnSiteUnderTest in core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php
@expectedDeprecation This is the deprecation message for deprecation_test_function().

File

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

View source
  1. deprecation_test.route:
  2. path: '/this-calls-a-deprecated-method'
  3. defaults:
  4. _controller: \Drupal\deprecation_test\DeprecatedController::deprecatedMethod
  5. requirements:
  6. _access: 'TRUE'

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