You are here

public function TestController::get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/httpkernel_test/src/Controller/TestController.php \Drupal\httpkernel_test\Controller\TestController::get()

Return an empty response.

1 string reference to 'TestController::get'
httpkernel_test.routing.yml in core/modules/system/tests/modules/httpkernel_test/httpkernel_test.routing.yml
core/modules/system/tests/modules/httpkernel_test/httpkernel_test.routing.yml

File

core/modules/system/tests/modules/httpkernel_test/src/Controller/TestController.php, line 20
Contains \Drupal\httpkernel_test\Controller\TestController.

Class

TestController
A test controller.

Namespace

Drupal\httpkernel_test\Controller

Code

public function get() {
  return new Response();
}