diff --git a/modules/quant_purger/src/Form/ConfigurationForm.php b/modules/quant_purger/src/Form/ConfigurationForm.php index 9df8b285..f2cbb0b0 100644 --- a/modules/quant_purger/src/Form/ConfigurationForm.php +++ b/modules/quant_purger/src/Form/ConfigurationForm.php @@ -154,7 +154,7 @@ public function submitFormClear(array &$form, FormStateInterface $form_state) { } else { $status = 'error'; - $message = $this->t('Unable to clear the traffic registry due to form errors:

' . implode('
', $form_state->getErrors())); + $message = $this->t('Unable to clear the traffic registry due to form errors:

%errors', ['%errors' => implode('
', $form_state->getErrors())]); } $response->addCommand(new PrependCommand('#purgedialogform', '
' . $message . '
'));