Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
facets-3052574
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
facets-3052574
Commits
08d888e9
Commit
08d888e9
authored
4 years ago
by
Aniket More
Committed by
Nick Veenhof
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3081071
by aniki47: Remove obsolete theming function
parent
cd483390
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/facets_summary/facets_summary.module
+0
-6
0 additions, 6 deletions
modules/facets_summary/facets_summary.module
modules/facets_summary/templates/facets-summary.html.twig
+0
-24
0 additions, 24 deletions
modules/facets_summary/templates/facets-summary.html.twig
with
0 additions
and
30 deletions
modules/facets_summary/facets_summary.module
+
0
−
6
View file @
08d888e9
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
modules/facets_summary/templates/facets-summary.html.twig
deleted
100644 → 0
+
0
−
24
View file @
cd483390
{#
/**
* @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
%}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment