You are here

function key_config_form_validate in Key 7.2

Same name and namespace in other branches
  1. 7.3 includes/key.admin.inc \key_config_form_validate()

Form validate handler for key_config_form().

File

includes/key.admin.inc, line 247
Administrative functionality for managing key configurations.

Code

function key_config_form_validate($form, &$form_state) {
  $provider = key_get_provider($form_state['values']['provider']);
  if ($validate_callback = ctools_plugin_get_function($provider, 'config form validate')) {
    call_user_func($validate_callback, $form, $form_state);
  }
}