summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Hojtsy2017-06-13 15:10:50 (GMT)
committerGabor Hojtsy2017-06-13 15:10:50 (GMT)
commitc3f81d18d696178699211048c4ec4e8147eb9627 (patch)
treeccd427ed4fdf5f85c597eccf02cc502838b579e8
parent67f58f64abfb8457bf3e5db2d1db919670916cc7 (diff)
Issue #2883699 by prajaankit, ahmad.h.khalil, cilefen: hook_theme_suggestions_HOOK() is not clear enough about what should be returned
-rw-r--r--core/lib/Drupal/Core/Render/theme.api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Render/theme.api.php b/core/lib/Drupal/Core/Render/theme.api.php
index 6e78d52..db7a161 100644
--- a/core/lib/Drupal/Core/Render/theme.api.php
+++ b/core/lib/Drupal/Core/Render/theme.api.php
@@ -627,7 +627,7 @@ function hook_preprocess_HOOK(&$variables) {
function hook_theme_suggestions_HOOK(array $variables) {
$suggestions = [];
- $suggestions[] = 'node__' . $variables['elements']['#langcode'];
+ $suggestions[] = 'hookname__' . $variables['elements']['#langcode'];
return $suggestions;
}