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