public function UltimateCronTaggedSettings::isValid in Ultimate Cron 7.2
Only valid for jobs tagged with the proper tag.
Overrides UltimateCronPlugin::isValid
1 call to UltimateCronTaggedSettings::isValid()
- UltimateCronQueueSettings::cron_alter in plugins/
ultimate_cron/ settings/ queue.class.php - Implements hook_cron_alter().
File
- ./
ultimate_cron.plugin.inc, line 1658 - Plugin framework for Ultimate Cron.
Class
- UltimateCronTaggedSettings
- Base class for tagged settings.
Code
public function isValid($job = NULL) {
return $job ? in_array($this->name, $job->hook['tags']) : parent::isValid();
}