Controller routines for Twig theme test routes.
Expanded class hierarchy of TwigThemeTestController
class TwigThemeTestController implements ControllerInterface {
/**
* Creates the controller.
*/
public static function create(ContainerInterface $container) {
return new static();
}
/**
* Menu callback for testing PHP variables in a Twig template.
*/
public function phpVariablesRender() {
return theme('twig_theme_test_php_variables');
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TwigThemeTestController:: |
public static | function |
Creates the controller. Overrides ControllerInterface:: |
|
TwigThemeTestController:: |
public | function | Menu callback for testing PHP variables in a Twig template. |