function ThemeTestHooks::themeSuggestionsThemeTestSuggestionProvided
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php \Drupal\theme_test\Hook\ThemeTestHooks::themeSuggestionsThemeTestSuggestionProvided()
Implements hook_theme_suggestions_HOOK().
Attributes
#[Hook('theme_suggestions_theme_test_suggestion_provided')]
File
-
core/
modules/ system/ tests/ modules/ theme_test/ src/ Hook/ ThemeTestHooks.php, line 192
Class
- ThemeTestHooks
- 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.