function hook_field_create_field

Act on a field being created.

This hook lets modules react to the creation of a field. It is called after the definition is saved, so it cannot be used to modify the field itself.

Parameters

$field: The field just created.

Related topics

2 functions implement hook_field_create_field()
1 invocation of hook_field_create_field()

File

drupal/core/modules/field/field.api.php, line 1831

Code

function hook_field_create_field($field) {

  // @todo Needs function body.
}