drupal / saplings_alerts
Adds and configures the Sitewide Alerts module.
Package info
git.drupalcode.org/project/saplings_alerts.git
Type:drupal-recipe
pkg:composer/drupal/saplings_alerts
Requires
- drupal/core: ^10.4 || ^11
- drupal/sitewide_alert: ^3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Saplings Alerts
Adds and configures the Sitewide Alerts module for best practices.
Features
• Enables the sitewide_alert module.
• Adds alert styles named after Bootstrap's alert colors. Each style adds an alert-<style> class, so Bootstrap themes work as is and Tailwind or other themes can style the same classes.
• Displays the newest alert first.
• Disables automatic refresh to reduce server load.
• Sets cache max age to 30 minutes (1800 seconds).
• Creates an unpublished sample alert to demonstrate configuration.
• Adds a menu link to Drupal Core’s Navigation menu under Content.
Requirements
• Drupal 10.4 or newer (compatible with Drupal 11). • Included module: drupal/sitewide_alert:^3.0.
Maintainers
Current maintainers:
This project is sponsored by: