Skip to content

Commit

Permalink
Fix linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
kepol committed Jul 27, 2023
1 parent 9b81de6 commit abb42db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/quant_purger/src/Form/ConfigurationForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:<br/><br/>' . implode('<br/>', $form_state->getErrors()));
$message = $this->t('Unable to clear the traffic registry due to form errors:<br/><br/>%errors', ['%errors' => implode('<br/>', $form_state->getErrors())]);
}

$response->addCommand(new PrependCommand('#purgedialogform', '<div class="messages messages--' . $status . '" style="margin-top: 1rem"><div class="message__content">' . $message . '</div></div>'));
Expand Down

0 comments on commit abb42db

Please sign in to comment.