summaryrefslogtreecommitdiffstats
path: root/core/modules/views_ui
diff options
context:
space:
mode:
authorxjm2017-12-05 03:18:26 (GMT)
committerxjm2017-12-05 03:18:26 (GMT)
commitacaf93a810af64099efef54fc9e5271d46c96acd (patch)
treeea7527d7d1c692be9239dfc24d90e077e97124cc /core/modules/views_ui
parent81d17351e0961df47721879d4725199e21eaa9a6 (diff)
Revert "Issue #2662574 by RajeevK, Adita, pritish.kumar, afi13, AjitS, greyghost: Theme suggestions may not be in theme include files, Search and Views UI suggestions are not (always) found"
This reverts commit 81d17351e0961df47721879d4725199e21eaa9a6.
Diffstat (limited to 'core/modules/views_ui')
-rw-r--r--core/modules/views_ui/views_ui.module7
-rw-r--r--core/modules/views_ui/views_ui.theme.inc7
2 files changed, 7 insertions, 7 deletions
diff --git a/core/modules/views_ui/views_ui.module b/core/modules/views_ui/views_ui.module
index bae74a8..15f85e3 100644
--- a/core/modules/views_ui/views_ui.module
+++ b/core/modules/views_ui/views_ui.module
@@ -157,13 +157,6 @@ function views_ui_preprocess_views_view(&$variables) {
}
/**
- * Implements hook_theme_suggestions_HOOK().
- */
-function views_ui_theme_suggestions_views_ui_view_preview_section(array $variables) {
- return ['views_ui_view_preview_section__' . $variables['section']];
-}
-
-/**
* Returns contextual links for each handler of a certain section.
*
* @TODO
diff --git a/core/modules/views_ui/views_ui.theme.inc b/core/modules/views_ui/views_ui.theme.inc
index d1aef4c..e6ef875 100644
--- a/core/modules/views_ui/views_ui.theme.inc
+++ b/core/modules/views_ui/views_ui.theme.inc
@@ -547,3 +547,10 @@ function template_preprocess_views_ui_view_preview_section(&$variables) {
$variables['links'] = $build;
}
}
+
+/**
+ * Implements hook_theme_suggestions_HOOK().
+ */
+function views_ui_theme_suggestions_views_ui_view_preview_section(array $variables) {
+ return ['views_ui_view_preview_section__' . $variables['section']];
+}