diff --git a/core/modules/config_translation/src/Controller/ConfigTranslationController.php b/core/modules/config_translation/src/Controller/ConfigTranslationController.php index cd37341..0791e6c 100644 --- a/core/modules/config_translation/src/Controller/ConfigTranslationController.php +++ b/core/modules/config_translation/src/Controller/ConfigTranslationController.php @@ -7,7 +7,6 @@ namespace Drupal\config_translation\Controller; -use Drupal\Component\Utility\SafeMarkup; use Drupal\config_translation\ConfigMapperManagerInterface; use Drupal\Core\Access\AccessManagerInterface; use Drupal\Core\Controller\ControllerBase; @@ -130,7 +129,7 @@ public function itemPage(Request $request, RouteMatchInterface $route_match, $pl $languages = $this->languageManager->getLanguages(); if (count($languages) == 1) { - drupal_set_message(SafeMarkup::set($this->t('In order to translate configuration, the website must have at least two languages.', array('!url' => $this->url('entity.configurable_language.collection'))))); + drupal_set_message($this->t('In order to translate configuration, the website must have at least two languages.', array('@url' => $this->url('entity.configurable_language.collection')))); } $original_langcode = $mapper->getLangcode(); if (!isset($languages[$original_langcode])) {