diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 4cfbd914bdd557e3e137018918354c66a0ccd60f..26fcb3696b644d7baf965a40733a7c72d2b79b5d 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -198,7 +198,7 @@ function drupal_find_theme_templates($cache, $extension, $path) { // Find templates that implement possible "suggestion" variants of registered // theme hooks and add those as new registered theme hooks. See - // drupal_find_theme_functions() for more information about suggestions and + // hook_theme_suggestions_alter() for more information about suggestions and // the use of 'pattern' and 'base hook'. $patterns = array_keys($files); foreach ($cache as $hook => $info) { diff --git a/core/lib/Drupal/Core/Theme/Registry.php b/core/lib/Drupal/Core/Theme/Registry.php index 79b9c4869384df741ddf15050aafea2e5718e812..228553a5db3a8cd6ab79b80831ab8191c700f7db 100644 --- a/core/lib/Drupal/Core/Theme/Registry.php +++ b/core/lib/Drupal/Core/Theme/Registry.php @@ -738,7 +738,7 @@ protected function postProcessExtension(array &$cache, ActiveTheme $theme) { foreach ($cache as $hook => $info) { // The 'base hook' is only applied to derivative hooks already registered // from a pattern. This is typically set from - // drupal_find_theme_functions() and drupal_find_theme_templates(). + // drupal_find_theme_templates(). if (isset($info['incomplete preprocess functions'])) { $this->completeSuggestion($hook, $cache); unset($cache[$hook]['incomplete preprocess functions']);