Change record status: 
Project: 
Description: 

The following functions have been deprecated:

  • drupal_find_theme_templates
  • theme_settings_convert_to_config
  • theme_get_suggestions

Before:
theme_get_suggestions($args, $base, $delimiter);

After:
\Drupal::service(ThemeSuggestions::class)->get($args, $base, $delimiter);

Before:
drupal_find_theme_templates($cache, $extension, $path);

After:
\Drupal::service(TemplateFinder::class)->scan($cache, $extension, $path);

theme_settings_convert_to_config has no replacement.

Impacts: 
Module developers