Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $someJSON = '[{"PhotoFid":"PhotoFid" : ["8444","8445"]}]';
- $node->set('field_photofid', $someJSON); -- field_photofid is a filetype
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement