Act on a field record being read from the database.

This hook is invoked from field_read_instances() on each instance being read.

Parameters

$instance: The instance record just read from the database.

Related topics

1 invocation of hook_field_read_instance()
field_read_instances in modules/field/field.crud.inc
Reads in field instances that match an array of conditions.

File

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

Code

function hook_field_read_instance($instance) {

  // @todo Needs function body.
}