function ThemeSuggestionsTestHooks::themeSuggestionsThemeTestSpecificSuggestionsAlter
Implements hook_theme_suggestions_HOOK_alter().
File
-
core/
modules/ system/ tests/ modules/ theme_suggestions_test/ src/ Hook/ ThemeSuggestionsTestHooks.php, line 38
Class
- ThemeSuggestionsTestHooks
- Hook implementations for theme_suggestions_test.
Namespace
Drupal\theme_suggestions_test\HookCode
public function themeSuggestionsThemeTestSpecificSuggestionsAlter(array &$suggestions, array $variables) {
$suggestions[] = 'theme_test_specific_suggestions__variant__foo';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.