function CronInterface::run
Same name in other branches
- 8.9.x core/lib/Drupal/Core/CronInterface.php \Drupal\Core\CronInterface::run()
- 10 core/lib/Drupal/Core/CronInterface.php \Drupal\Core\CronInterface::run()
- 11.x core/lib/Drupal/Core/CronInterface.php \Drupal\Core\CronInterface::run()
Executes a cron run.
Do not call this function from a test. Use $this->cronRun() instead.
Return value
bool TRUE upon success, FALSE otherwise.
2 methods override CronInterface::run()
File
-
core/
lib/ Drupal/ Core/ CronInterface.php, line 20
Class
- CronInterface
- An interface for running cron tasks.
Namespace
Drupal\CoreCode
public function run();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.