You are here

public function TwigThemeTestController::urlGeneratorRender in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php \Drupal\twig_theme_test\TwigThemeTestController::urlGeneratorRender()

Renders for testing url_generator functions in a Twig template.

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

File

core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php, line 47
Contains \Drupal\twig_theme_test\TwigThemeTestController.

Class

TwigThemeTestController
Controller routines for Twig theme test routes.

Namespace

Drupal\twig_theme_test

Code

public function urlGeneratorRender() {
  return array(
    '#theme' => 'twig_theme_test_url_generator',
  );
}