Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Decoupled Entity Notifications

6 sites Security covered Drupal 10–11
View on drupal.org

This module allows decoupled frontends to subscribe to entity updates. It provides a way to manage subscriptions and customize notifications for specific entity changes.

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.

Depends on

Dependencies of the latest stable release

  • dynamic_entity_reference Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Dec 2024
Latest release
3 months ago
Releases (12 mo)
4 ▼ from 6
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.0 Stable 10–11 May 13, 2026
1.0.2 Stable 10–11 Mar 6, 2026
1.0.1 Stable 10–11 Feb 6, 2026
1.0.0 Stable 10–11 Oct 17, 2025
1.0.0-alpha5 Pre-release 10–11 Jul 4, 2025
1.0.0-alpha4 Pre-release 10–11 Jul 3, 2025
1.0.0-alpha3 Pre-release 10–11 Jun 20, 2025
1.0.0-alpha2 Pre-release 10–11 May 23, 2025
1.0.0-alpha1 Pre-release 10–11 Feb 25, 2025
1.x-dev Dev 10–11 Dec 16, 2024