function hook_actions_delete

Same name and namespace in other branches
  1. 6.x documentation-6.x/developer/hooks/core.php \hook_actions_delete()

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.

Archivo

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

Código

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