Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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.

Activity

Total releases
9
First release
Feb 2025
Latest release
2 months ago
Releases (12 mo)
4 ▼ from 5
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.0 Stable May 13, 2026
1.0.2 Stable Mar 6, 2026
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