You are here

function node_convert_conversion_form_validate in Node Convert 7

Same name and namespace in other branches
  1. 6 node_convert.module \node_convert_conversion_form_validate()

Validation callback for converting a form.

File

./node_convert.forms.inc, line 155
Form page callbacks for the node_convert module.

Code

function node_convert_conversion_form_validate($form, &$form_state) {
  if ($form_state['values']['step'] == 'choose_destination_fields') {
    node_convert_invoke_all('node_convert_change', array(
      'dest_node_type' => $form_state['storage']['destination_type'],
      'form_state' => $form_state,
    ), 'options validate');
  }
}