Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $collection = entity_metadata_wrapper('field_collection_item', 12345);
- // Obtener valor
- $v = $collection->field_ejemplo->value();
- // Nuevo valor
- $collection->field_ejemplo = 'Nuevo valor';
- // Guardar
- $collection->save();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement