Cron::$lock

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cron.php \Drupal\Core\Cron::lock
  2. 10 core/lib/Drupal/Core/Cron.php \Drupal\Core\Cron::lock

The lock service.

Type: \Drupal\Core\Lock\LockBackendInterface

File

core/lib/Drupal/Core/Cron.php, line 37

Class

Cron
The Drupal core Cron service.

Namespace

Drupal\Core

Code

protected $lock;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.