action.api.php

Hooks provided by the Actions module.

File

drupal/core/modules/action/action.api.php
View source
<?php

/**
 * @file
 * Hooks provided by the Actions module.
 */

/**
 * Executes code after an action is deleted.
 *
 * @param $aid
 *   The action ID.
 */
function hook_action_delete($aid) {
  db_delete('actions_assignments')
    ->condition('aid', $aid)
    ->execute();
}

Functions

Namesort descending Description
hook_action_delete Executes code after an action is deleted.