You are here

function node_convert_conversion_form_validate in Node Convert 6

Same name and namespace in other branches
  1. 7 node_convert.forms.inc \node_convert_conversion_form_validate()

File

./node_convert.module, line 252
The node_convert module converts nodes from one type to another.

Code

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