You are here

function system_actions_configure_validate in Drupal 6

Same name and namespace in other branches
  1. 7 modules/system/system.admin.inc \system_actions_configure_validate()

Validate system_actions_configure form submissions.

File

modules/system/system.module, line 1576
Configuration system that lets administrators modify the workings of the site.

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);
  }
}