You are here

function hook_field_delete_instance in Drupal 7

Act on a field instance being deleted.

This hook is invoked from field_delete_instance() after the instance is deleted.

Parameters

$instance: The instance just deleted.

Related topics

1 function implements hook_field_delete_instance()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

image_field_delete_instance in modules/image/image.module
Implements hook_field_delete_instance().
1 invocation of hook_field_delete_instance()
field_delete_instance in modules/field/field.crud.inc
Marks a field instance and its data for deletion.

File

modules/field/field.api.php, line 2593
Hooks provided by the Field module.

Code

function hook_field_delete_instance($instance) {

  // @todo Needs function body.
}