Predelete
Categories
Component ID
1213774
Component name
Predelete
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
992
Component created
Component changed
Component body
The predelete module hooks into the deletion process of nodes. By default it is not possible to react on a deleteion attempt before the deletion of a node. This is cured by providing the hook_predelete_node(). Other modules may implement the hook and add custom checks on the node that is about to be deleted.
The module ships with an API documentation and an example module that provides a single checkbox field. Nodes that contain the field could only be deleted if the checkbox is checked.