Drupal is a registered trademark of Dries Buytaert

de_notifications

8 sites Security covered
View on drupal.org

The Decoupled Entity Notifications module provides a robust API for subscribing to entity updates, enabling seamless integration with decoupled frontends.

Features

  • Subscription Management: Allows users to subscribe to changes in specific entities.
  • Customizable Notifications: Introduces a `notifications_settings` field that can be added to entity bundles. This field includes:
    • A subfield to control whether an entity can be subscribed to.
    • A user-configurable subfield for sending notifications on specific changes, along with a text field for detailed descriptions.

Typical usecase for this module is receiving updates for entity changes with a decoupled frontend.

Post-Installation

Follow these steps to set up the Notifications module:

  1. Enable the Module: Install and enable the module in your Drupal site.
  2. Set the Secret Key: Add the following line to your `settings.php` file, replacing `{SECRET_KEY}` with a secure, private value. Using an environment variable for this key is highly recommended.

    $config['de_notifications.settings']['secret_key'] = {SECRET_KEY};

  3. Configure Module Settings: Go to `admin/config/system/de_notifications` to adjust the module’s settings.
  4. Set Up Cron Jobs: Configure the desired schedules for the "Clean up unconfirmed subscriptions" and "Queue: Notify Subscribers" cron jobs in your site's cron settings.
  5. Add the Notifications Field: Add the `notifications_settings` field to the desired entity bundle(s).
  6. Enable the Field: Activate the added field for one or more instances of your entity.
  7. Use the Endpoints: Make API requests to the module’s available endpoints as outlined in the documentation.

Additional Requirements

The Decoupled Entity Notifications (DEN) module requires:

DEN comes bundled with the submodule Decoupled Email Notifications Symfony Mailer (DENSM) to allow you to use symfony mailer as a notification type. If you plan to use DENSM, you'll also need to install the Symfony Mailer module.

The modular architecture of DEN is designed for extensibility, allowing developers to create additional notification type submodules as needed.

Activity

Total releases
7
First release
Feb 2025
Latest release
3 weeks ago
Release cadence
58 days
Stability
29% stable

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Feb 6, 2026
1.0.0 Stable Oct 17, 2025
1.0.0-alpha5 Pre-release Jul 4, 2025
1.0.0-alpha4 Pre-release Jul 3, 2025
1.0.0-alpha3 Pre-release Jun 20, 2025
1.0.0-alpha2 Pre-release May 23, 2025
1.0.0-alpha1 Pre-release Feb 25, 2025