function hook_action_delete in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/action/action.api.php \hook_action_delete()
Executes code after an action is deleted.
Parameters
$aid: The action ID.
Related topics
File
- core/
modules/ action/ action.api.php, line 19 - Hooks provided by the Actions module.
Code
function hook_action_delete($aid) {
db_delete('actions_assignments')
->condition('aid', $aid)
->execute();
}