Community Documentation

hook_actions_delete

6 core.php hook_actions_delete($aid)
7 system.api.php hook_actions_delete($aid)
8 system.api.php hook_actions_delete($aid)

Executes code after an action is deleted.

Parameters

$aid: The action ID.

Related topics

File

modules/system/system.api.php, line 3826
Hooks provided by Drupal core and the System module.

Code

<?php
function hook_actions_delete($aid) {
  db_delete('actions_assignments')
    ->condition('aid', $aid)
    ->execute();
}
?>
Login or register to post comments