function hook_field_create_field

Act on a field being created.

This hook is invoked from field_create_field() after the field is created, to allow modules to act on field creation.

Parameters

$field: The field just created.

Related topics

1 function implements hook_field_create_field()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

field_test_field_create_field in modules/field/tests/field_test.module
Memorize calls to hook_field_create_field().
1 invocation of hook_field_create_field()
field_create_field in modules/field/field.crud.inc
Creates a field.

File

modules/field/field.api.php, line 2484

Code

function hook_field_create_field($field) {
    // @todo Needs function body.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.