diff options
author | xjm | 2017-12-05 03:09:25 (GMT) |
---|---|---|
committer | xjm | 2017-12-05 03:09:25 (GMT) |
commit | 81d17351e0961df47721879d4725199e21eaa9a6 (patch) | |
tree | c8b7a120567393510cec36a32922ef2c8f23db01 /core/lib/Drupal/Core/Render | |
parent | e382945bb7d721d99748f1910c716468f9894bca (diff) |
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
Diffstat (limited to 'core/lib/Drupal/Core/Render')
-rw-r--r-- | core/lib/Drupal/Core/Render/theme.api.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/lib/Drupal/Core/Render/theme.api.php b/core/lib/Drupal/Core/Render/theme.api.php index f91411b..754641c 100644 --- a/core/lib/Drupal/Core/Render/theme.api.php +++ b/core/lib/Drupal/Core/Render/theme.api.php @@ -613,6 +613,10 @@ function hook_preprocess_HOOK(&$variables) { * hook called (in this case 'node__article') is available in * $variables['theme_hook_original']. * + * Implementations of this hook must be placed in *.module or *.theme files, or + * must otherwise make sure that the hook implementation is available at + * any given time. + * * @todo Add @code sample. * * @param array $variables @@ -694,6 +698,10 @@ function hook_theme_suggestions_alter(array &$suggestions, array $variables, $ho * hook called (in this case 'node__article') is available in * $variables['theme_hook_original']. * + * Implementations of this hook must be placed in *.module or *.theme files, or + * must otherwise make sure that the hook implementation is available at + * any given time. + * * @todo Add @code sample. * * @param array $suggestions |