You are here

function hook_icon_bundle_reset in Icon API 8

Same name and namespace in other branches
  1. 7 icon.api.php \hook_icon_bundle_reset()

Perform actions after a bundle, provided in code, has been reset.

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

See also

icon_bundle_delete()

File

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

Code

function hook_icon_bundle_reset($bundle) {

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