Skip to content
Snippets Groups Projects
Commit 08d888e9 authored by Aniket More's avatar Aniket More Committed by Nick Veenhof
Browse files

Issue #3081071 by aniki47: Remove obsolete theming function

parent cd483390
No related branches found
No related tags found
No related merge requests found
......@@ -12,12 +12,6 @@ use Drupal\search_api\Query\QueryInterface;
*/
function facets_summary_theme($existing, $type, $theme, $path) {
return [
'facets_summary' => [
'variables' => [
'count' => [],
'items' => [],
],
],
'facets_summary_count' => [
'variables' => [
'count' => NULL,
......
{#
/**
* @file
* Default theme implementation to display source summary block.
*
* Available variables:
* - count: A themed message with the total number of result. Themers can theme
* this variable by overriding 'facets-source-summary-count' theme.
* - items: An array of themed facet summary info. Each item can be themed by
* overriding 'facets-source-summary-facet' theme.
*/
#}
{% if count %}
{{ count }}
{% endif %}
{% if items %}
<ul>
{% for item in items %}
<li>{{ item }}</li>
{% endfor %}
</ul>
{% else %}
{{ "not filtered"|t }}
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment