function TestController::helloWorld

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/legacy_front_controller_test/src/Controller/TestController.php \Drupal\legacy_front_controller_test\Controller\TestController::helloWorld()
1 string reference to 'TestController::helloWorld'
legacy_front_controller_test.routing.yml in core/modules/system/tests/modules/legacy_front_controller_test/legacy_front_controller_test.routing.yml
core/modules/system/tests/modules/legacy_front_controller_test/legacy_front_controller_test.routing.yml

File

core/modules/system/tests/modules/legacy_front_controller_test/src/Controller/TestController.php, line 15

Class

TestController
Controller to test a legacy front controller.

Namespace

Drupal\legacy_front_controller_test\Controller

Code

public function helloWorld() : Response {
  return new Response("Hello World");
}

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