function TwigThemeTestController::registryLoaderRender

Same name in other branches
  1. 9 core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php \Drupal\twig_theme_test\TwigThemeTestController::registryLoaderRender()
  2. 10 core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php \Drupal\twig_theme_test\TwigThemeTestController::registryLoaderRender()
  3. 11.x core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php \Drupal\twig_theme_test\TwigThemeTestController::registryLoaderRender()

Menu callback for testing the Twig registry loader.

1 string reference to 'TwigThemeTestController::registryLoaderRender'
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 93

Class

TwigThemeTestController
Controller routines for Twig theme test routes.

Namespace

Drupal\twig_theme_test

Code

public function registryLoaderRender() {
    return [
        '#theme' => 'twig_registry_loader_test',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.