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 = "
\n";
diff --git a/core/lib/Drupal/Core/Installer/Exception/DatabaseAlreadyPopulatedException.php b/core/lib/Drupal/Core/Installer/Exception/DatabaseAlreadyPopulatedException.php
index f430028..f0acffd 100644
--- a/core/lib/Drupal/Core/Installer/Exception/DatabaseAlreadyPopulatedException.php
+++ b/core/lib/Drupal/Core/Installer/Exception/DatabaseAlreadyPopulatedException.php
@@ -18,6 +18,7 @@ class DatabaseAlreadyPopulatedException extends AlreadyInstalledException {
* {@inheritdoc}
*/
public function __construct(TranslationInterface $string_translation, $message = '') {
+ $this->stringTranslation = $string_translation;
parent::__construct($string_translation, $this->t('Database is already populated.'));
}
diff --git a/core/lib/Drupal/Core/Installer/Exception/InstallationTasksCompletedException.php b/core/lib/Drupal/Core/Installer/Exception/InstallationTasksCompletedException.php
index 14cee4e..28ae004 100644
--- a/core/lib/Drupal/Core/Installer/Exception/InstallationTasksCompletedException.php
+++ b/core/lib/Drupal/Core/Installer/Exception/InstallationTasksCompletedException.php
@@ -18,6 +18,7 @@ class InstallationTasksCompletedException extends AlreadyInstalledException {
* {@inheritdoc}
*/
public function __construct(TranslationInterface $string_translation, $message = '') {
+ $this->stringTranslation = $string_translation;
parent::__construct($string_translation, $this->t('Installation tasks have already been completed.'));
}
diff --git a/core/lib/Drupal/Core/Installer/Exception/SettingsAlreadyExistsException.php b/core/lib/Drupal/Core/Installer/Exception/SettingsAlreadyExistsException.php
index 15bf7c6..c088e17 100644
--- a/core/lib/Drupal/Core/Installer/Exception/SettingsAlreadyExistsException.php
+++ b/core/lib/Drupal/Core/Installer/Exception/SettingsAlreadyExistsException.php
@@ -18,6 +18,7 @@ class SettingsAlreadyExistsException extends AlreadyInstalledException {
* {@inheritdoc}
*/
public function __construct(TranslationInterface $string_translation, $message = '') {
+ $this->stringTranslation = $string_translation;
parent::__construct($string_translation, $this->t('Configured settings.php already exists.'));
}