Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

Book Moderation Sync Module

The Book Moderation Sync module synchronizes moderation states between books and their children (chapters or pages) in Drupal. It leverages the book and content_moderation modules to manage relationships and moderation states effectively.

Features

  • Moderation State Synchronization: When a book's moderation state is updated (e.g., published or archived), all its children inherit the same state.
  • Child Deletion: Option to automatically delete child nodes when a book is deleted.

Usage

Moderation State Synchronization

  1. Create a book and add chapters or pages as children.
  2. Update the moderation state of the book (e.g., set it to "Published").
  3. All child nodes will automatically inherit the same moderation state.

Child Deletion

  1. Enable the delete_children_on_book_delete option in the module's configuration.
  2. Delete a book.
  3. All associated child nodes will be automatically deleted.

Configuration

The module provides a configuration option:

  • Delete children when a book is deleted: If enabled, child nodes are deleted when their parent book is deleted.

Dependencies

  • Book: Manages the hierarchical structure of books and their children.
  • Content Moderation: Handles moderation states for nodes.

Technical Details

The module uses the following services and methods:

  • BookManager: Manages book-related operations, such as adding nodes to a book.
  • BookOutlineStorage: Handles the storage of book relationships.
  • ModerationInformation: Provides moderation state information for entities.

Links

License

This project is licensed under the GPLv2 license.

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
10
Tracked since
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 10
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0 Stable Jan 9, 2025
1.0.0-beta6 Pre-release Jan 8, 2025
1.0.0-beta5 Pre-release Jan 8, 2025
1.0.0-beta4 Pre-release Jan 8, 2025
1.0.0-beta3 Pre-release Jan 7, 2025
1.0.x-dev Dev Jan 6, 2025
1.0.0-beta2 Pre-release Jan 6, 2025
1.0.0-beta1 Pre-release Jan 6, 2025
1.0.0-alpha2 Pre-release Jan 5, 2025
1.0.0-alpha1 Pre-release Jan 5, 2025