public function CronController::run in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/CronController.php \Drupal\system\CronController::run()
Run Cron once.
Return value
\Symfony\Component\HttpFoundation\Response A Symfony response object.
1 string reference to 'CronController::run'
- system.routing.yml in core/
modules/ system/ system.routing.yml - core/modules/system/system.routing.yml
File
- core/
modules/ system/ src/ CronController.php, line 51 - Contains \Drupal\system\CronController.
Class
- CronController
- Controller for Cron handling.
Namespace
Drupal\systemCode
public function run() {
$this->cron
->run();
// HTTP 204 is "No content", meaning "I did what you asked and we're done."
return new Response('', 204);
}