Drupal is a registered trademark of Dries Buytaert
Release: Entity API 8.x-1.8 Minor update available for module entity (8.x-1.8). Release: Module Filter 6.0.0 Major update available for module module_filter (6.0.0). Release: Blazy 3.0.19 Minor update available for module blazy (3.0.19). Release: Slick Carousel 3.0.8 Minor update available for module slick (3.0.8). Release: Blazy 3.0.18 Minor update available for module blazy (3.0.18). Release: Extra Paragraph Types (EPT): Core 2.0.1 Minor update available for module ept_core (2.0.1). Release: AI (Artificial Intelligence) 1.5.0-rc2 New release candidate for module ai (1.5.0-rc2). Release: SDC Components 1.0.10 Minor update available for module sdc_components (1.0.10). Module Revived: Content Moderation Notifications 8.x-3.9 Module content_moderation_notifications updated after 10 months of inactivity (8... Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

Helper module for developers working with Drupal core's node access API.

Methods provided:

NodeGrantsUpdater::update($node)

When you save a node, Drupal automatically triggers an update of access grants for that node. When a node is saved that should affect the access of other nodes, use a hook_node_update() / hook_node_insert() or a postSave method to trigger those other nodes to update themselves, too, with this code:

    \Drupal::service('node_access_helper.update_node_grants')->update($nids); 

(It will accept a node object, a node ID, or an array of either.)

Supporting this Module

You can support Agaric's overall contributions to Drupal and a bit beyond by supporting Drutopia at opencollective.com/drutopia. Thanks!

Activity

Tracked releases
1
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev Mar 1, 2025