function tmgmt_get_first_from_node_list in Translation Management Tool 7
Rules action to extract the first node from a node list.
File
- ./
tmgmt.rules.inc, line 212 - Rules integration.
Code
function tmgmt_get_first_from_node_list($list) {
return array(
'first_node' => reset($list),
);
}