template_preprocess_search_result
function template_preprocess_search_result
template_preprocess_search_result(&$variables)
Prepares variables for individual search result templates.
Default template: search-result.html.twig
Parameters
array $variables: An array with the following elements:
- result: Individual search result.
- plugin_id: Plugin the search results came from.
- title_prefix: Additional output populated by modules, intended to be displayed in front of the main title tag that appears in the template.
- title_suffix: Additional output populated by modules, intended to be displayed after the main title tag that appe