You are here

function hook_action_delete in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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();
}