function _field_invoke_default

Invoke field.module's version of a field hook.

This function invokes the field_default_[op]() function. Use _field_invoke() to invoke the field type implementation, hook_field_[op]().

See also

_field_invoke()

Related topics

8 calls to _field_invoke_default()
field_attach_form in modules/field/field.attach.inc
Add form elements for all fields for an entity to a form structure.
field_attach_form_validate in modules/field/field.attach.inc
Perform field validation against form-submitted field values.
field_attach_insert in modules/field/field.attach.inc
Save field data for a new entity.
field_attach_prepare_translation in modules/field/field.attach.inc
Prepares an entity for translation.
field_attach_submit in modules/field/field.attach.inc
Perform necessary operations on field data submitted by a form.

... See full list

File

modules/field/field.attach.inc, line 383

Code

function _field_invoke_default($op, $entity_type, $entity, &$a = NULL, &$b = NULL, $options = array()) {
    $options['default'] = TRUE;
    return _field_invoke($op, $entity_type, $entity, $a, $b, $options);
}

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