You are here

function power_menu_configuration_handler_form_validate in Power Menu 7.2

Process handler form validation.

File

./power_menu.admin.inc, line 262
This contains all the admin stuff of the module

Code

function power_menu_configuration_handler_form_validate(&$elements, &$form_state, $form_id = NULL) {
  $instance = power_menu_plugin_get_handler_instance_by_name(arg(6));
  if ($instance) {

    // Call form validation for given handler instance
    $instance
      ->configurationFormValidate($elements, $form_state, $form_id);
  }
}