You are here

public static function UltimateCronPluginMultiple::jobSettingsFormValidate in Ultimate Cron 7.2

Job settings form validate handler.

Overrides UltimateCronPlugin::jobSettingsFormValidate

File

./ultimate_cron.plugin.inc, line 791
Plugin framework for Ultimate Cron.

Class

UltimateCronPluginMultiple
Class for handling multiple plugins.

Code

public static function jobSettingsFormValidate($form, &$form_state, $plugin_type, $job = NULL) {
  $plugins = _ultimate_cron_plugin_load_all($plugin_type);
  foreach ($plugins as $plugin) {
    if ($plugin
      ->isValid($job)) {
      $plugin
        ->settingsFormValidate($form, $form_state, $job);
    }
  }
}