1.12.x field.api.php hook_field_update_instance($instance, $prior_instance)
1.10.x field.api.php hook_field_update_instance($instance, $prior_instance)
1.11.x field.api.php hook_field_update_instance($instance, $prior_instance)
1.7.x 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

File

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

Code

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