function TestThemeNyanCatEngineHooks::preprocessThemeTestTemplateTest
Same name and namespace in other branches
- 11.x core/modules/system/tests/themes/test_theme_nyan_cat_engine/src/Hook/TestThemeNyanCatEngineHooks.php \Drupal\test_theme_nyan_cat_engine\Hook\TestThemeNyanCatEngineHooks::preprocessThemeTestTemplateTest()
Implements hook_preprocess_theme_test_template_test().
Attributes
#[Hook('preprocess_theme_test_template_test')]
File
-
core/
modules/ system/ tests/ themes/ test_theme_nyan_cat_engine/ src/ Hook/ TestThemeNyanCatEngineHooks.php, line 18
Class
- TestThemeNyanCatEngineHooks
- Hook implementations for test_theme_nyan_cat_engine.
Namespace
Drupal\test_theme_nyan_cat_engine\HookCode
public function preprocessThemeTestTemplateTest(&$variables) : void {
$variables['kittens'] = 'All of them';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.