diff --git a/core/modules/config/src/Form/ConfigSync.php b/core/modules/config/src/Form/ConfigSync.php index f1492f6..e9b14cb 100644 --- a/core/modules/config/src/Form/ConfigSync.php +++ b/core/modules/config/src/Form/ConfigSync.php @@ -218,14 +218,13 @@ public function buildForm(array $form, FormStateInterface $form_state) { } sort($change_list); $message = [ - '#type' => 'inline_template', - '#template' => '{% trans %}The following items in your active configuration have changes since the last import that may be lost on the next import.{% endtrans%}{{ change_list }}', - '#context' => [ - 'change_list' => [ - '#theme' => 'item_list', - '#items' => $change_list, - ], + [ + '#markup' => $this->t('The following items in your active configuration have changes since the last import that may be lost on the next import.') ], + [ + '#theme' => 'item_list', + '#items' => $change_list, + ] ]; drupal_set_message($this->renderer->renderPlain($message), 'warning'); }