This project is not covered by Drupal’s security advisory policy.
PHPFlasher shows toast notifications in Drupal, using the PHPFlasher 2 library.
See the README for more details.
Features
- Call
$this->flasher->addSuccess($this->t('Saved.'))from any code. The message appears as a toast on the next HTML page the visitor sees, and is then discarded. - Built on the framework-agnostic php-flasher/flasher library.
- Settings form to choose the toast library, a theme for the built-in toasts, and the paths that never get toasts.
- Optional: show Drupal's own status, warning and error messages as toasts.
- Other toast libraries (Toastr, Noty, Notyf, SweetAlert) work once their php-flasher/* composer package is installed.
Supporting organizations:
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Created by nanak on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
