diff --git a/core/lib/Drupal/Core/Config/ConfigImporter.php b/core/lib/Drupal/Core/Config/ConfigImporter.php index d25b0f062a0..9375811846a 100644 --- a/core/lib/Drupal/Core/Config/ConfigImporter.php +++ b/core/lib/Drupal/Core/Config/ConfigImporter.php @@ -213,7 +213,6 @@ class ConfigImporter { $this->themeHandler = $theme_handler; $this->stringTranslation = $string_translation; if ($extension_list_theme === NULL) { - @trigger_error('Calling ' . __METHOD__ . ' without the $extension_list_theme argument is deprecated in drupal:10.1.0 and will be required in drupal:11.0.0. See https://www.drupal.org/node/3284397', E_USER_DEPRECATED); $extension_list_theme = \Drupal::service('extension.list.theme'); } $this->themeExtensionList = $extension_list_theme; diff --git a/core/modules/config/src/Form/ConfigSingleImportForm.php b/core/modules/config/src/Form/ConfigSingleImportForm.php index 316ee598fab..b33dc9c646d 100644 --- a/core/modules/config/src/Form/ConfigSingleImportForm.php +++ b/core/modules/config/src/Form/ConfigSingleImportForm.php @@ -176,7 +176,6 @@ class ConfigSingleImportForm extends ConfirmFormBase { $this->themeHandler = $theme_handler; $this->moduleExtensionList = $extension_list_module; if ($extension_list_theme === NULL) { - @trigger_error('Calling ' . __METHOD__ . ' without the $extension_list_theme argument is deprecated in drupal:10.1.0 and will be required in drupal:11.0.0. See https://www.drupal.org/node/3284397', E_USER_DEPRECATED); $extension_list_theme = \Drupal::service('extension.list.theme'); } $this->themeExtensionList = $extension_list_theme;