function ThemeTestThemeHooks1::themeSuggestionsThemeTestPreprocessSuggestions
Implements hook_theme_suggestions_HOOK().
Attributes
#[Hook('theme_suggestions_theme_test_preprocess_suggestions')]
File
-
core/
modules/ system/ tests/ modules/ theme_test/ src/ Hook/ ThemeTestThemeHooks1.php, line 27
Class
- ThemeTestThemeHooks1
- Hook implementations for theme_test.
Namespace
Drupal\theme_test\HookCode
public function themeSuggestionsThemeTestPreprocessSuggestions($variables) : array {
return [
'theme_test_preprocess_suggestions__' . $variables['foo'],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.