Skip to content

Instantly share code, notes, and snippets.

@allgood2386
Created March 16, 2016 12:27
Show Gist options
  • Save allgood2386/4d33ad1ebb41fe3decf1 to your computer and use it in GitHub Desktop.
Save allgood2386/4d33ad1ebb41fe3decf1 to your computer and use it in GitHub Desktop.
<?php
$node = entity_meta_datawrapper('node', $nid');
$node->field_something[] = $someValue;
$node = $node->save();
if ($node->nid) {
//sucess
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment