public static function UltimateCronPlugin::jobSettingsFormValidate in Ultimate Cron 7.2
Job settings form validate handler.
1 method overrides UltimateCronPlugin::jobSettingsFormValidate()
- UltimateCronPluginMultiple::jobSettingsFormValidate in ./
ultimate_cron.plugin.inc - Job settings form validate handler.
File
- ./
ultimate_cron.plugin.inc, line 600 - Plugin framework for Ultimate Cron.
Class
- UltimateCronPlugin
- This is the base class for all Ultimate Cron plugins.
Code
public static function jobSettingsFormValidate($form, &$form_state, $plugin_type, $job = NULL) {
$name = !empty($form_state['values']['settings'][$plugin_type]['name']) ? $form_state['values']['settings'][$plugin_type]['name'] : $job->hook[$plugin_type]['name'];
$plugin = _ultimate_cron_plugin_require($plugin_type, $name);
$plugin
->settingsFormValidate($form, $form_state, $job);
}