Skip to content
Snippets Groups Projects
Commit 0153f01c authored by Mark Jarrell's avatar Mark Jarrell
Browse files

Changes message to warning on room reservation form validation.

parent eb19aba0
No related branches found
No related tags found
No related merge requests found
......@@ -226,7 +226,7 @@ function polaris_room_reservation_form_validate(&$form, FormStateInterface $form
$profile->save();
// Alert staff that the account has been created for them.
\Drupal::service('messenger')->addMessage(new TranslatableMarkup('This Polaris user (' . $patron->barcode . ') has never logged in before, so we\'ve added their account to the website just now. Please try submitting your reservation again.'));
\Drupal::service('messenger')->addWarning(new TranslatableMarkup('This Polaris user (' . $patron->barcode . ') has never logged in before, so we\'ve added their account to the website just now. Please try submitting your reservation again.'));
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment