search-api-index.html.twig in Search API 8
Default theme implementation for displaying a search index.
Available variables:
- table: The index info table.
- description: The index description.
- index_progress: The index progress.
See also
1 theme call to search-api-index.html.twig
- IndexController::page in src/
Controller/ IndexController.php - Displays information about a search index.
File
templates/search-api-index.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for displaying a search index.
- *
- * Available variables:
- * - table: The index info table.
- * - description: The index description.
- * - index_progress: The index progress.
- *
- * @see template_preprocess_search_api_index()
- *
- * @ingroup themeable
- */
- #}
- {% if description %}
- <p class="description">{{ description|nl2br }}</p>
- {% endif %}
- {% if index_progress %}
- <h3>{{ 'Index status'|t }}</h3>
- <div class="search-api-index-status">{{ index_progress }}</div>
- {% endif %}
- {{ table }}