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


Related topics

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

... See full list


drupal/modules/field/, line 383
Field attach API, allowing entities (nodes, users, ...) to be 'fieldable'.


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);