public function LanguageTestController::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/tests/language_test/src/Controller/LanguageTestController.php \Drupal\language_test\Controller\LanguageTestController::__construct()
Constructs a new LanguageTestController object.
Parameters
\Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel: An HTTP kernel.
File
- core/
modules/ language/ tests/ language_test/ src/ Controller/ LanguageTestController.php, line 46 - Contains \Drupal\language_test\Controller\LanguageTestController.
Class
- LanguageTestController
- Controller routines for language_test routes.
Namespace
Drupal\language_test\ControllerCode
public function __construct(HttpKernelInterface $httpKernel, LanguageManagerInterface $language_manager) {
$this->httpKernel = $httpKernel;
$this->languageManager = $language_manager;
}