function TwigThemeTestController::attachLibraryRender
Renders for testing attach_library functions in a Twig template.
1 string reference to 'TwigThemeTestController::attachLibraryRender'
- 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 84  
Class
- TwigThemeTestController
 - Controller routines for Twig theme test routes.
 
Namespace
Drupal\twig_theme_testCode
public function attachLibraryRender() {
  return [
    '#theme' => 'twig_theme_test_attach_library',
  ];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.