function TestController::__construct

Same name in this branch
  1. 11.x core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::__construct()
  2. 11.x core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::__construct()
Same name in other branches
  1. 9 core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::__construct()
  2. 9 core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::__construct()
  3. 8.9.x core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::__construct()
  4. 8.9.x core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::__construct()
  5. 10 core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::__construct()
  6. 10 core/modules/system/tests/modules/container_rebuild_test/src/TestController.php \Drupal\container_rebuild_test\TestController::__construct()
  7. 10 core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::__construct()

Constructs a TestController.

Parameters

\Drupal\Core\DrupalKernelInterface $kernel: The Drupal kernel.

File

core/modules/system/tests/modules/container_rebuild_test/src/TestController.php, line 18

Class

TestController

Namespace

Drupal\container_rebuild_test

Code

public function __construct(DrupalKernelInterface $kernel) {
}

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