hook_actions_delete

Definition

hook_actions_delete($aid)
developer/hooks/core.php, line 22

Description

Execute code after an action is deleted.

Parameters

$aid The action ID.

Related topics

Namesort iconDescription
HooksAllow modules to interact with the Drupal core.

Code

<?php
function hook_actions_delete($aid) {
  db_query("DELETE FROM {actions_assignments} WHERE aid = '%s'", $aid);
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.