function hook_action_delete

Executes code after an action is deleted.

Parameters

$aid: The action ID.

Related topics

1 invocation of hook_action_delete()
action_delete in drupal/core/modules/action/action.module
Deletes a single action from the database.

File

drupal/core/modules/action/action.api.php, line 94
Hooks provided by the Actions module.

Code

function hook_action_delete($aid) {
  db_delete('actions_assignments')
    ->condition('aid', $aid)
    ->execute();
}