function ThemeTestController::functionTemplateOverridden
Same name in other branches
- 9 core/modules/system/tests/modules/theme_legacy_test/src/ThemeTestController.php \Drupal\theme_legacy_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_legacy_test.routing.yml in core/
modules/ system/ tests/ modules/ theme_legacy_test/ theme_legacy_test.routing.yml - core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.routing.yml
File
-
core/
modules/ system/ tests/ modules/ theme_legacy_test/ src/ ThemeTestController.php, line 20
Class
- ThemeTestController
- Controller routines for test routes for legacy theme functions.
Namespace
Drupal\theme_legacy_testCode
public function functionTemplateOverridden() {
return [
'#theme' => 'theme_test_function_template_override',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.