Search by

drupal / saplings_alerts

Drupal-Infrastructure

Adds and configures the Sitewide Alerts module.

Package info

git.drupalcode.org/project/saplings_alerts.git

Type:drupal-recipe

pkg:composer/drupal/saplings_alerts

Statistics

Installs: 28

Dependents: 0

Suggesters: 0

1.0.3 2026-11-22 12:53 UTC

This package is auto-updated.

Last update: 2026-11-22 18:06:01 UTC


README

saplings

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: