You are here

function hook_actions_delete in Drupal 7

Executes code after an action is deleted.

Parameters

$aid: The action ID.

Related topics

1 function implements hook_actions_delete()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

trigger_actions_delete in modules/trigger/trigger.module
Implements hook_actions_delete().
1 invocation of hook_actions_delete()
actions_delete in includes/actions.inc
Deletes a single action from the database.

File

modules/system/system.api.php, line 4052
Hooks provided by Drupal core and the System module.

Code

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