function _field_invoke_default

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 field.attach.inc _field_invoke_default($op, $entity_type, $entity, &$a = NULL, &$b = NULL, $options = array())
cle7 field.attach.inc _field_invoke_default($op, $entity_type, $entity, &$a = NULL, &$b = NULL, $options = array())
elmsmedia7 field.attach.inc _field_invoke_default($op, $entity_type, $entity, &$a = NULL, &$b = NULL, $options = array())
icor7 field.attach.inc _field_invoke_default($op, $entity_type, $entity, &$a = NULL, &$b = NULL, $options = array())
meedjum_blog7 field.attach.inc _field_invoke_default($op, $entity_type, $entity, &$a = NULL, &$b = NULL, $options = array())
mooc7 field.attach.inc _field_invoke_default($op, $entity_type, $entity, &$a = NULL, &$b = NULL, $options = array())

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
Field attach API, allowing entities (nodes, users, ...) to be 'fieldable'.

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);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.