function actions_delete
Same name and namespace in other branches
- 6.x drupal-6.x/includes/actions.inc \actions_delete()
Deletes a single action from the database.
Parameters
$aid: The ID of the action to delete.
2 calls to actions_delete()
- actions_synchronize in drupal-7.x/
includes/ actions.inc - Synchronizes actions that are provided by modules in hook_action_info().
- system_actions_delete_form_submit in drupal-7.x/
modules/ system/ system.admin.inc - Process system_actions_delete form submissions.
Archivo
- drupal-7.x/
includes/ actions.inc, line 383 - This is the actions engine for executing stored actions.
Código
function actions_delete($aid) {
db_delete('actions')->condition('aid', $aid)->execute();
module_invoke_all('actions_delete', $aid);
}