action.api.php in Zircon Profile 8
Same filename and directory in other branches
Hooks provided by the Actions module.
File
core/modules/action/action.api.phpView 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
Name![]() |
Description |
---|---|
hook_action_delete | Executes code after an action is deleted. |