function hook_field_update_instance

You are here

7 field.api.php hook_field_update_instance($instance, $prior_instance)

Act on a field instance being updated.

This hook is invoked from field_update_instance() after the instance record is saved, so it cannot be used by a module to modify the instance itself.

Parameters

$instance: The instance as it is post-update.

$prior_instance: The instance as it was pre-update.

Related topics

1 function implements hook_field_update_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_update_instance in modules/image/image.module
Implements hook_field_update_instance().
1 invocation of hook_field_update_instance()
field_update_instance in modules/field/field.crud.inc
Updates an instance of a field.

File

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

Code

function hook_field_update_instance($instance, $prior_instance) {
  // @todo Needs function body.
}