I'm using Date for this field.
To get "nid" I can use $node->nid; if using "Execute custom PHP code" as Action.
But if in Action I choose "Set a data value", and then inside it using "Data Selection" getting "nid" looks impossible.
Right now, I'm still struggling getting nid to be available. Use $node->nid; gives an error.
So what is the exact code to get "nid" in this area?
Comments
Comment #0.0
Rockland Steel commentedadd
Comment #0.1
Rockland Steel commentedadd more
Comment #1
tr commentedAssuming node is in context, node:nid should be available in the data selection. Or use [node:nid] in direct input.