function hook_field_delete_field

Act on a field being deleted.

This hook is invoked just after a field is deleted by field_delete_field().

Parameters

$field: The field just deleted.

Related topics

1 function implements hook_field_delete_field()

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_field in modules/image/image.module
Implements hook_field_delete_field().
1 invocation of hook_field_delete_field()
field_delete_field in modules/field/field.crud.inc
Marks a field and its instances and data for deletion.

File

modules/field/field.api.php, line 2565

Code

function hook_field_delete_field($field) {
    // @todo Needs function body.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.