1.12.x field.api.php hook_field_create_instance($instance)
1.10.x field.api.php hook_field_create_instance($instance)
1.11.x field.api.php hook_field_create_instance($instance)
1.7.x field.api.php hook_field_create_instance($instance)

Act on a field instance being created.

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

Parameters

$instance: The instance just created.

Related topics

File

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

Code

function hook_field_create_instance($instance) {
  // @todo Needs function body.
}