Skip to content
Snippets Groups Projects
Unverified Commit 0c8a680e authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3262500 by andypost: Remove leftover mentions of drupal_find_theme_functions() in Drupal 10

parent 9e6fedbd
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
......@@ -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']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment