$v) { if (is_array($v)) { $array[$k] = node_export_drupal_decode_objects($v); } } if (isset($array['#_export_node_encode_object'])) { unset($array['#_export_node_encode_object']); $array = (object)$array; } return $array; } /** * Callback for actions. */ function node_export_drupal_action_form($context, &$form_state) { return node_export_action_form($context, $form_state, 'drupal'); }