You are here

public function Cron::run in Zircon Profile 8

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

Overrides CronInterface::run

File

core/lib/Drupal/Core/ProxyClass/Cron.php, line 77
Contains \Drupal\Core\ProxyClass\Cron.

Class

Cron
Provides a proxy class for \Drupal\Core\Cron.

Namespace

Drupal\Core\ProxyClass

Code

public function run() {
  return $this
    ->lazyLoadItself()
    ->run();
}