You are here

function hook_icon_bundle_delete in Icon API 7

Same name and namespace in other branches
  1. 8 icon.api.php \hook_icon_bundle_delete()

Perform actions after a bundle has been deleted.

This hook is invoked after a bundle has been removed from the database and filesystem. This hook simply allows extensions to run additional tasks with the bundle's data array as context after it has been successfully deleted.

See also

icon_bundle_delete()

File

./icon.api.php, line 159
icon.api.php Hooks and form elements provided by the Icon API module.

Code

function hook_icon_bundle_delete($bundle) {

  // Do something in your custom module, such as removing variables or database
  // rows in a different table that your custom module is tracking.
}