You are here

public function CronInterface::run in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/CronInterface.php \Drupal\Core\CronInterface::run()
  2. 9 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.

1 method overrides CronInterface::run()
Cron::run in core/lib/Drupal/Core/Cron.php
Executes a cron run.

File

core/lib/Drupal/Core/CronInterface.php, line 20

Class

CronInterface
An interface for running cron tasks.

Namespace

Drupal\Core

Code

public function run();