| 6 core.php | hook_actions_delete($aid) |
| 7 system.api.php | hook_actions_delete($aid) |
| 8 system.api.php | hook_actions_delete($aid) |
Execute code after an action is deleted.
Parameters
$aid: The action ID.
Related topics
File
- developer/
hooks/ core.php, line 94 - These are the hooks that are invoked by the Drupal core.
Code
<?php
function hook_actions_delete($aid) {
db_query("DELETE FROM {actions_assignments} WHERE aid = '%s'", $aid);
}
?>Login or register to post comments