function TestController::test

Same name in other branches
  1. 10 core/modules/system/tests/modules/path_changed_helper_test/src/Controller/TestController.php \Drupal\path_changed_helper_test\Controller\TestController::test()
1 string reference to 'TestController::test'
path_changed_helper_test.routing.yml in core/modules/system/tests/modules/path_changed_helper_test/path_changed_helper_test.routing.yml
core/modules/system/tests/modules/path_changed_helper_test/path_changed_helper_test.routing.yml

File

core/modules/system/tests/modules/path_changed_helper_test/src/Controller/TestController.php, line 14

Class

TestController
Controller for testing the PathChangedHelper class.

Namespace

Drupal\path_changed_helper_test\Controller

Code

public function test() : Response {
    return new Response('test');
}

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