search-result.html.twig
search-result.html.twig
Default theme implementation for displaying a single search result.
This template renders a single search result. The list of results is rendered using '#theme' => 'item_list', with suggestions of:
- item_list__search_results__(plugin_id)
- item_list__search_results
Available variables:
- url: URL of the result.
- title: Title of the result.
- snippet: A small preview of the result. Does not apply to user searches.
- info: String of all the meta information ready for print. Does not apply to user searches.
- plugin_id: The machine-readable name of the plugin being executed,such as "node_search" or "user_search".
- title_prefix: Additional output populated by modules, intended to be displayed in front of the main title tag that appears