interface CronInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/CronInterface.php \Drupal\Core\CronInterface
An interface for running cron tasks.
Hierarchy
- interface \Drupal\Core\CronInterface
Expanded class hierarchy of CronInterface
All classes that implement CronInterface
See also
4 files declare their use of CronInterface
- AutomatedCron.php in core/
modules/ automated_cron/ src/ EventSubscriber/ AutomatedCron.php - Contains \Drupal\automated_cron\EventSubscriber\AutomatedCron.
- CronController.php in core/
modules/ system/ src/ CronController.php - Contains \Drupal\system\CronController.
- CronForm.php in core/
modules/ system/ src/ Form/ CronForm.php - Contains \Drupal\system\Form\CronForm.
- ToolbarController.php in modules/
admin_toolbar/ admin_toolbar_tools/ src/ Controller/ ToolbarController.php - Contains \Drupal\admin_toolbar_tools\Controller\ToolbarController.
File
- core/
lib/ Drupal/ Core/ CronInterface.php, line 15 - Contains \Drupal\Core\CronInterface.
Namespace
Drupal\CoreView source
interface CronInterface {
/**
* Executes a cron run.
*
* Do not call this function from a test. Use $this->cronRun() instead.
*
* @return bool
* TRUE upon success, FALSE otherwise.
*/
public function run();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CronInterface:: |
public | function | Executes a cron run. | 2 |