function hook_field_update_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.


$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 drupal/modules/image/image.module
Implements hook_field_update_instance().
1 invocation of hook_field_update_instance()
field_update_instance in drupal/modules/field/
Updates an instance of a field.


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


function hook_field_update_instance($instance, $prior_instance) {

  // @todo Needs function body.