function TestController::__construct
Same name in this branch
- main core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::__construct()
- main core/modules/system/tests/modules/container_rebuild_test/src/TestController.php \Drupal\container_rebuild_test\TestController::__construct()
- main core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::__construct()
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::__construct()
- 11.x core/modules/system/tests/modules/container_rebuild_test/src/TestController.php \Drupal\container_rebuild_test\TestController::__construct()
- 11.x core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::__construct()
- 10 core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::__construct()
- 10 core/modules/system/tests/modules/container_rebuild_test/src/TestController.php \Drupal\container_rebuild_test\TestController::__construct()
- 10 core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::__construct()
- 9 core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::__construct()
- 9 core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::__construct()
- 8.9.x core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::__construct()
- 8.9.x core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::__construct()
- 11.x core/modules/system/tests/modules/http_kernel_test/src/Controller/TestController.php \Drupal\http_kernel_test\Controller\TestController::__construct()
File
-
core/
modules/ system/ tests/ modules/ http_kernel_test/ src/ Controller/ TestController.php, line 20
Class
- TestController
- A test controller.
Namespace
Drupal\http_kernel_test\ControllerCode
public function __construct(protected DrupalKernelInterface $kernel) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.