Closed (fixed)
Project:
Field collection
Version:
7.x-1.0-beta4
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2012 at 05:15 UTC
Updated:
28 Nov 2016 at 19:44 UTC
Jump to comment: Most recent
Comments
Comment #1
jmuzz commentedIf you are on a page for a node you can get the node object with menu_get_object() and then get it's id from $node->nid . You could also use the arg() function but it is not recommended.