You are here

function _multifield_field_entity_to_item in Multifield 7.2

Same name and namespace in other branches
  1. 7 multifield.module \_multifield_field_entity_to_item()
8 calls to _multifield_field_entity_to_item()
multifield_field_attach_submit in ./multifield.field.inc
Implements hook_field_attach_submit().
multifield_field_delete in ./multifield.field.inc
Implements hook_field_delete().
multifield_field_insert in ./multifield.field.inc
Implements hook_field_insert().
multifield_field_load in ./multifield.field.inc
Implements hook_field_load().
multifield_field_prepare_view in ./multifield.field.inc
Implements hook_field_prepare_view().

... See full list

File

./multifield.module, line 404

Code

function _multifield_field_entity_to_item($pseudo_entity) {
  $item = (array) $pseudo_entity;
  unset($item['type']);

  //$item['#pseudo_entity'] = $pseudo_entity;
  return $item;
}