You are here

function _state_flow_split_keys in State Machine 7.3

Same name and namespace in other branches
  1. 7.2 modules/state_flow/state_flow.admin.inc \_state_flow_split_keys()

Helper function to to split the keys

1 string reference to '_state_flow_split_keys'
state_flow_admin_nodes_submit in modules/state_flow/state_flow.admin.inc
Process node_admin_nodes form submissions.

File

modules/state_flow/state_flow.admin.inc, line 297
Revision Content administration.

Code

function _state_flow_split_keys($key) {
  list($nid, $vid) = explode(':::', $key);
  return array(
    'vid' => $vid,
    'nid' => $nid,
  );
}