function theme_test_preprocess_theme_test_preprocess_suggestions
Same name in other branches
- 9 core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_preprocess_theme_test_preprocess_suggestions()
- 10 core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_preprocess_theme_test_preprocess_suggestions()
- 11.x core/modules/system/tests/modules/theme_test/theme_test.module \theme_test_preprocess_theme_test_preprocess_suggestions()
Implements hook_preprocess_HOOK().
2 string references to 'theme_test_preprocess_theme_test_preprocess_suggestions'
- RegistryLegacyTest::testSuggestionPreprocessFunctions in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ RegistryLegacyTest.php - Tests the theme registry with theme functions with suggestions.
- RegistryTest::testSuggestionPreprocessFunctions in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ RegistryTest.php - Tests the theme registry with suggestions.
File
-
core/
modules/ system/ tests/ modules/ theme_test/ theme_test.module, line 90
Code
function theme_test_preprocess_theme_test_preprocess_suggestions(&$variables) {
$variables['foo'] = 'Theme hook implementor=theme_theme_test_preprocess_suggestions().';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.