Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Notification Message

No security coverage Under active development 462 sites

This module allows site administrators to create and broadcast notification messages across a Drupal site. You can configure messages with specific display times, conditions like user roles or paths, and make them dismissible by users.

What This Module Does

The Notification Message module allows site administrators to create and broadcast notification messages that appear throughout a Drupal site. Notification messages can be broken into different types to support multiple use cases. Messages can be configured with:

  • Time-based publishing – Set start and end dates to control when messages appear
  • Conditional display – Show messages based on user roles, page paths, content types, or any custom Drupal condition
  • Entity awareness – Notification messages are aware of entities exposed on the route, which integrate with Drupal's Condition API
  • Multiple message types – Create different notification categories for different use cases
  • Dismissible messages – Let users close notifications, shown only once per browser session via cookie-based storage

Use Cases

  • Display site-wide outage or maintenance announcements at a specific date and time
  • Show promotional banners during specific time periods
  • Target notifications to a subset of users based on role
  • Display context-aware messages on specific content types
  • Create dismissible alerts that users can close

How It Works

  1. Create message types – Define different notification categories with configurable conditions and dismiss settings
  2. Create messages – Add notification content with publish dates and optional display conditions
  3. Place the block – Add the "Notification Messages" block to any region
  4. Conditions evaluate – Messages automatically show/hide based on configured conditions and dates

Features

  • Create notification message types with configurable view modes
  • Use conditions to show/hide notification messages via Drupal's Condition API
  • Create custom conditions to support additional use cases
  • Easily attach custom fields to notification message types using Field API
  • Publish/unpublish notification messages using start and end dates
  • Translatable for multilingual sites
  • Cron-based cache invalidation for accurate time-based publishing
  • Accessible dismiss functionality with ARIA announcements

Similar Projects

  • Site Alert – Provides site-wide alerts. Notification Message differs by supporting multiple message types, condition-based targeting, and integration with Drupal's Condition API for more flexible display rules.

Ask your assistant about Notification Message

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Oct 2023
Latest release
9 months ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0-rc2 Pre-release 10–11 Dec 22, 2025
2.0.0-rc1 Pre-release 10–11 Dec 20, 2025
2.0.x-dev Dev 10–11 Dec 18, 2025
8.x-1.0-rc9 Pre-release 8–11 May 7, 2025
8.x-1.0-rc8 Pre-release 8–10 Nov 17, 2023
8.x-1.0-rc7 Pre-release 8–10 Oct 25, 2023