You are here

public static function LanguageTestController::create in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/tests/language_test/src/Controller/LanguageTestController.php \Drupal\language_test\Controller\LanguageTestController::create()
  2. 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\Controller

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('http_kernel'), $container
    ->get('language_manager'));
}