function SearchHooks::theme
Implements hook_theme().
File
-
core/
modules/ search/ src/ Hook/ SearchHooks.php, line 76
Class
- SearchHooks
- Hook implementations for search.
Namespace
Drupal\search\HookCode
public function theme() : array {
return [
'search_result' => [
'variables' => [
'result' => NULL,
'plugin_id' => NULL,
],
'file' => 'search.pages.inc',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.