You are here

function system_actions_configure_validate in Drupal 7

Same name and namespace in other branches
  1. 6 modules/system/system.module \system_actions_configure_validate()

Validate system_actions_configure() form submissions.

File

modules/system/system.admin.inc, line 3172
Admin page callbacks for the system module.

Code

function system_actions_configure_validate($form, &$form_state) {
  $function = actions_function_lookup($form_state['values']['actions_action']) . '_validate';

  // Hand off validation to the action.
  if (function_exists($function)) {
    $function($form, $form_state);
  }
}