function hook_field_create_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
1 invocation of hook_field_create_instance()
- field_create_instance in modules/
field/ field.crud.inc - Creates an instance of a field, binding it to a bundle.
File
-
modules/
field/ field.api.php, line 2497
Code
function hook_field_create_instance($instance) {
// @todo Needs function body.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.