search-api-page-result.html.twig in Search API Pages 8
Default theme implementation for displaying a single search result coming from Search API page.
1 theme call to search-api-page-result.html.twig
- SearchApiPageController::createItemRenderArray in src/
Controller/ SearchApiPageController.php - Creates a render array for the given result item.
File
templates/search-api-page-result.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for displaying a single search result coming from Search API page.
- *
- * @ingroup themeable
- */
- #}
- {{ title_prefix }}
- <h3{{ title_attributes }}>
- <a href="{{ url }}">{{ title }}</a>
- </h3>
- {{ title_suffix }}
- {% if snippet %}
- <p{{ content_attributes }}>{{ snippet }}</p>
- {% endif %}
- {% if info %}
- <p>{{ info }}</p>
- {% endif %}