You are here

function _viewfield_nodestack_pop in Viewfield 5

Function for removing a node ID from the global stack of node IDs when there is no longer a danger of building a node, with a view, with the node, with the view...

1 call to _viewfield_nodestack_pop()
viewfield_field_formatter in ./viewfield.module
Implementation of hook_field_formatter().

File

./viewfield.module, line 460
Defines a field type for referencing a view from a node

Code

function _viewfield_nodestack_pop() {
  global $_viewfield_stack;
  return array_pop($_viewfield_stack);
}