actions_delete

  1. drupal
    1. 6
    2. 8
    3. 7
Versions
6 – 7 actions_delete($aid)

Deletes a single action from the database.

Parameters

$aid The ID of the action to delete.

▾ 2 functions call actions_delete()

actions_synchronize in includes/actions.inc
Synchronizes actions that are provided by modules in hook_action_info().
system_actions_delete_form_submit in modules/system/system.admin.inc
Process system_actions_delete form submissions.

Code

includes/actions.inc, line 377

<?php
function actions_delete($aid) {
  db_delete('actions')
    ->condition('aid', $aid)
    ->execute();
  module_invoke_all('actions_delete', $aid);
}
?>