public static function TwigThemeTestController::create

Creates the controller.

Overrides ControllerInterface::create

File

drupal/core/modules/system/tests/modules/twig_theme_test/lib/Drupal/twig_theme_test/TwigThemeTestController.php, line 21
Contains \Drupal\twig_theme_test\TwigThemeTestController.

Class

TwigThemeTestController
Controller routines for Twig theme test routes.

Namespace

Drupal\twig_theme_test

Code

public static function create(ContainerInterface $container) {
  return new static();
}