public function ThemeTestController::functionTemplateOverridden in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/theme_test/src/ThemeTestController.php \Drupal\theme_test\ThemeTestController::functionTemplateOverridden()
A theme template that overrides a theme function.
Return value
array Render array containing a theme.
1 string reference to 'ThemeTestController::functionTemplateOverridden'
- theme_test.routing.yml in core/
modules/ system/ tests/ modules/ theme_test/ theme_test.routing.yml - core/modules/system/tests/modules/theme_test/theme_test.routing.yml
File
- core/
modules/ system/ tests/ modules/ theme_test/ src/ ThemeTestController.php, line 24 - Contains \Drupal\theme_test\ThemeTestController.
Class
- ThemeTestController
- Controller routines for theme test routes.
Namespace
Drupal\theme_testCode
public function functionTemplateOverridden() {
return array(
'#theme' => 'theme_test_function_template_override',
);
}