public static function LanguageTestController::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/tests/language_test/src/Controller/LanguageTestController.php \Drupal\language_test\Controller\LanguageTestController::create()
- 9 core/modules/language/tests/language_test/src/Controller/LanguageTestController.php \Drupal\language_test\Controller\LanguageTestController::create()
File
- core/
modules/ language/ tests/ language_test/ src/ Controller/ LanguageTestController.php, line 51
Class
- LanguageTestController
- Controller routines for language_test routes.
Namespace
Drupal\language_test\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container
->get('http_kernel'), $container
->get('language_manager'));
}