diff --git a/core/lib/Drupal/Core/Installer/Exception/ActiveConfigurationExistsException.php b/core/lib/Drupal/Core/Installer/Exception/ActiveConfigurationExistsException.php index f5077b7..406cb1d 100644 --- a/core/lib/Drupal/Core/Installer/Exception/ActiveConfigurationExistsException.php +++ b/core/lib/Drupal/Core/Installer/Exception/ActiveConfigurationExistsException.php @@ -18,6 +18,7 @@ class ActiveConfigurationExistsException extends AlreadyInstalledException { * {@inheritdoc} */ public function __construct(TranslationInterface $string_translation, $message = '') { + $this->stringTranslation = $string_translation; parent::__construct($string_translation, $this->t('Active configuration already exists.')); } diff --git a/core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php b/core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php index d60c2bb..8f87c5a 100644 --- a/core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php +++ b/core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php @@ -23,7 +23,6 @@ * A specific message exception message. */ public function __construct(TranslationInterface $string_translation, $specific_message = '') { - $this->stringTranslation = $string_translation; $title = $this->t('Drupal already installed.'); $message = "