function field_attach_load_revision


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/
cis7 field_attach_load_revision($entity_type, $entities, $options = array())
cle7 field_attach_load_revision($entity_type, $entities, $options = array())
elmsmedia7 field_attach_load_revision($entity_type, $entities, $options = array())
icor7 field_attach_load_revision($entity_type, $entities, $options = array())
meedjum_blog7 field_attach_load_revision($entity_type, $entities, $options = array())
mooc7 field_attach_load_revision($entity_type, $entities, $options = array())

Load all fields for previous versions of a group of entities.

Loading different versions of the same entities is not supported, and should be done by separate calls to the function.

field_attach_load_revision() is automatically called by the default entity controller class, and thus, in most cases, doesn't need to be explicitly called by the entity type module.


$entity_type: The type of $entity; e.g. 'node' or 'user'.

$entities: An array of entities for which to load fields, keyed by entity ID. Each entity needs to have its 'bundle', 'id' and (if applicable) 'revision' keys filled. The function adds the loaded field data directly in the entity objects of the $entities array.

$options: An associative array of additional options. See field_attach_load() for details.

Related topics

3 calls to field_attach_load_revision()
DrupalDefaultEntityController::attachLoad in includes/
Attaches data to entities upon loading.
EntityAPIControllerExportable::attachLoad in sites/all/modules/ulmus/entity/includes/
field_test_entity_test_load in modules/field/tests/
Loads a test_entity.


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


function field_attach_load_revision($entity_type, $entities, $options = array()) {
  return field_attach_load($entity_type, $entities, FIELD_LOAD_REVISION, $options);



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.