Commit 72a4dcb8 authored by dermario's avatar dermario Committed by borisson_
Browse files

Issue #2842695 by dermario: Wrong naming of hook_theme_suggestions_HOOK in facets_summary

parent ddf8d32e
......@@ -45,15 +45,15 @@ function facets_summary_theme($existing, $type, $theme, $path) {
/**
* Implements hook_theme_suggestions_HOOK().
*/
function facets_source_summary_theme_suggestions_facets_source_summary_facet(array $variables) {
// Add suggestions as: facets-source-summary-facet--{facet_id}.
return ['facets_source_summary_facet__' . $variables['facet_id']];
function facets_summary_theme_suggestions_facets_summary_facet(array $variables) {
// Add suggestions as: facets-summary-facet--{facet_id}.
return ['facets_summary_facet__' . $variables['facet_id']];
}
/**
* Implements hook_theme_suggestions_HOOK().
*/
function facets_source_summary_theme_suggestions_facets_source_summary_facet_result(array $variables) {
// Add suggestions as: facets-source-summary-facet-result--{facet_id}.
function facets_summary_theme_suggestions_facets_summary_facet_result(array $variables) {
// Add suggestions as: facets-summary-facet-result--{facet_id}.
return [$variables['theme_hook_original'] . '__' . $variables['facet_id']];
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment