public function MigrateUIWizard::formValidate in Migrate 7.2
Call the validation function for the current form (which has the same name of the form function with 'Validate' appended).
Parameters
array $form_state:
File
- migrate_ui/migrate_ui.wizard.inc, line 438 
- Migration wizard framework.
Class
- MigrateUIWizard
- The base class for migration wizards. Extend this class to implement a wizard UI for importing into Drupal from a given source format (Drupal, WordPress, etc.).
Code
public function formValidate(&$form_state) {
  $validate_method = $this->currentStep
    ->getFormMethod();
  // This is an array for a method, or a function name.
  if (is_array($validate_method)) {
    $validate_method[1] .= 'Validate';
  }
  else {
    $validate_method .= 'Validate';
  }
  if (is_callable($validate_method)) {
    call_user_func_array($validate_method, array(
      &$form_state,
    ));
  }
}