CronTest::$cron

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Core/CronTest.php \Drupal\Tests\Core\CronTest::cron
  2. 11.x core/tests/Drupal/Tests/Core/CronTest.php \Drupal\Tests\Core\CronTest::cron

An instance of the Cron class for testing.

Type: \Drupal\Core\Cron

File

core/tests/Drupal/Tests/Core/CronTest.php, line 42

Class

CronTest
Tests the Cron class.

Namespace

Drupal\Tests\Core

Code

protected $cron;

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