Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I needed to only clear caches when a node of a specific content type has its access control settings updated but the node wasnt sent to the event. Heres a patch that adds it.
Comment | File | Size | Author |
---|---|---|---|
add-node-to-content_access_per_node-event.patch | 2.22 KB | emattias | |
Comments
Comment #1
Chris Burge CreditAttribution: Chris Burge commentedI agree. Providing the event is useful only if an action can be taken on the triggering node.
My use case involves the Search API module. When a node has it's Access Control permissions changed, I want that event to trigger an action on the node. Specifically, I want that entity re-indexed.
Comment #2
rami.sedhom CreditAttribution: rami.sedhom commentedPatch worked to make node available.
Comment #4
gisleThis is fixed in the latest snapshot 7.x-1.x-dev.