function hook_actions_delete

7.x system.api.php hook_actions_delete($aid)
6.x core.php hook_actions_delete($aid)

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 drupal-7.x/modules/trigger/trigger.module
Implements hook_actions_delete().
1 invocation of hook_actions_delete()
actions_delete in drupal-7.x/includes/actions.inc
Deletes a single action from the database.

File

drupal-7.x/modules/system/system.api.php, line 3947
Hooks provided by Drupal core and the System module.

Code

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