interface SchedulerInterface in Ultimate Cron 8.2
Defines a scheduler method.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface; interface \Drupal\Core\Plugin\PluginFormInterface
- interface \Drupal\ultimate_cron\Scheduler\SchedulerInterface
Expanded class hierarchy of SchedulerInterface
All classes that implement SchedulerInterface
1 file declares its use of SchedulerInterface
- SchedulerBase.php in src/
Plugin/ ultimate_cron/ Scheduler/ SchedulerBase.php
File
- src/
Scheduler/ SchedulerInterface.php, line 14
Namespace
Drupal\ultimate_cron\SchedulerView source
interface SchedulerInterface extends PluginInspectionInterface, ConfigurableInterface, DependentPluginInterface, PluginFormInterface {
/**
* Returns the default configuration.
*
* @return mixed
*/
public function defaultConfiguration();
/**
* Label for schedule.
*
* @param \Drupal\ultimate_cron\Entity\CronJob $job
* The job whose label should be formatted.
*/
public function formatLabel(CronJob $job);
/**
* Label for schedule.
*
* @param \Drupal\ultimate_cron\Entity\CronJob $job
* The job whose label should be formatted.
*/
public function formatLabelVerbose(CronJob $job);
/**
* Check job schedule.
*
* @param \Drupal\ultimate_cron\Entity\CronJob $job
* The job to check schedule for.
*
* @return bool
* TRUE if job is scheduled to run.
*/
public function isScheduled(CronJob $job);
/**
* Check if job is behind schedule.
*
* @param \Drupal\ultimate_cron\Entity\CronJob $job
* The job to check schedule for.
*
* @return bool|int
* FALSE if job is behind its schedule or number of seconds behind.
*/
public function isBehind(CronJob $job);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
SchedulerInterface:: |
public | function |
Returns the default configuration. Overrides ConfigurableInterface:: |
|
SchedulerInterface:: |
public | function | Label for schedule. | 1 |
SchedulerInterface:: |
public | function | Label for schedule. | 1 |
SchedulerInterface:: |
public | function | Check if job is behind schedule. | 1 |
SchedulerInterface:: |
public | function | Check job schedule. | 1 |