function SearchThemeHooks::themeSuggestionsSearchResult
Same name and namespace in other branches
- 11.x core/modules/search/src/Hook/SearchThemeHooks.php \Drupal\search\Hook\SearchThemeHooks::themeSuggestionsSearchResult()
Implements hook_theme_suggestions_HOOK().
Attributes
#[Hook('theme_suggestions_search_result')]
File
-
core/
modules/ search/ src/ Hook/ SearchThemeHooks.php, line 91
Class
- SearchThemeHooks
- Theme hook implementations for search.
Namespace
Drupal\search\HookCode
public function themeSuggestionsSearchResult(array $variables) : array {
return [
'search_result__' . $variables['plugin_id'],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.