Menu callback for testing PHP variables in a Twig template.
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');
}