Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Config/PreExistingConfigException.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Config/PreExistingConfigException.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/lib/Drupal/Core/Config/PreExistingConfigException.php Thu Feb 28 13:21:36 2019 +0000 @@ -2,7 +2,7 @@ namespace Drupal\Core\Config; -use Drupal\Component\Utility\SafeMarkup; +use Drupal\Component\Render\FormattableMarkup; /** * An exception thrown if configuration with the same name already exists. @@ -56,10 +56,10 @@ * @return \Drupal\Core\Config\PreExistingConfigException */ public static function create($extension, array $config_objects) { - $message = SafeMarkup::format('Configuration objects (@config_names) provided by @extension already exist in active configuration', + $message = new FormattableMarkup('Configuration objects (@config_names) provided by @extension already exist in active configuration', [ '@config_names' => implode(', ', static::flattenConfigObjects($config_objects)), - '@extension' => $extension + '@extension' => $extension, ] ); $e = new static($message);