public function TwigThemeTestController::phpVariablesRender

Menu callback for testing PHP variables in a Twig template.

1 string reference to 'TwigThemeTestController::phpVariablesRender'
twig_theme_test.routing.yml in drupal/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
drupal/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml

File

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

Class

TwigThemeTestController
Controller routines for Twig theme test routes.

Namespace

Drupal\twig_theme_test

Code

public function phpVariablesRender() {
  return theme('twig_theme_test_php_variables');
}