You are here

function ultimate_cron_plugin_settings_validate in Ultimate Cron 7.2

Validate handler for plugin settings.

1 string reference to 'ultimate_cron_plugin_settings_validate'
ultimate_cron_plugin_settings in ./ultimate_cron.admin.inc
Settings form for plugins.

File

./ultimate_cron.admin.inc, line 73
Ultimate Cron!

Code

function ultimate_cron_plugin_settings_validate($form, &$form_state) {
  $plugin_type = $form_state['values']['plugin_type'];
  $name = $form_state['values']['name'];
  $plugin = _ultimate_cron_plugin_require($plugin_type, $name);
  $plugin
    ->settingsFormValidate($form, $form_state);
}