function _field_invoke_multiple_default in Drupal 7
Invoke field.module's version of a field hook on multiple entities.
This function invokes the field_default_[op]() function. Use _field_invoke_multiple() to invoke the field type implementation, hook_field_[op]().
See also
Related topics
2 calls to _field_invoke_multiple_default()
- field_attach_prepare_view in modules/
field/ field.attach.inc - Prepare field data prior to display.
- field_view_field in modules/
field/ field.module - Returns a renderable array for the value of a single field in an entity.
File
- modules/
field/ field.attach.inc, line 397 - Field attach API, allowing entities (nodes, users, ...) to be 'fieldable'.
Code
function _field_invoke_multiple_default($op, $entity_type, $entities, &$a = NULL, &$b = NULL, $options = array()) {
$options['default'] = TRUE;
return _field_invoke_multiple($op, $entity_type, $entities, $a, $b, $options);
}