diff --git a/core/modules/system/theme.api.php b/core/modules/system/theme.api.php index b88f740..9f14878 100644 --- a/core/modules/system/theme.api.php +++ b/core/modules/system/theme.api.php @@ -490,9 +490,8 @@ function hook_preprocess_HOOK(&$variables) { /** * Provides alternate named suggestions for a specific theme hook. * - * This hook allows the module implementing hook_theme() for a theme hook to - * provide alternative theme function or template name suggestions. This hook is - * only invoked for the first module implementing hook_theme() for a theme hook. + * This hook allows modules to provide alternative theme function or template + * name suggestions. This hook is invoked for all modules. * * HOOK is the least-specific version of the hook being called. For example, if * '#theme' => 'node__article' is called, then node_theme_suggestions_node() @@ -571,9 +570,8 @@ function hook_theme_suggestions_alter(array &$suggestions, array $variables, $ho /** * Alters named suggestions for a specific theme hook. * - * This hook allows any module or theme to provide altenative theme function or - * template name suggestions and reorder or remove suggestions provided by - * hook_theme_suggestions_HOOK() or by earlier invocations of this hook. + * This hook allows modules to provide alternative theme function or template + * name suggestions. This hook is invoked for all modules * * HOOK is the least-specific version of the hook being called. For example, if * '#theme' => 'node__article' is called, then node_theme_suggestions_node()