You are here

action.api.php in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/action/action.api.php

Hooks provided by the Actions module.

File

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

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

/**
 * @addtogroup hooks
 * @{
 */

/**
 * 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();
}

/**
 * @} End of "addtogroup hooks".
 */

Functions

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