Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
25
core/lib/Drupal/Core/CronInterface.php
Normal file
25
core/lib/Drupal/Core/CronInterface.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\Core\CronInterface.
|
||||
*/
|
||||
|
||||
namespace Drupal\Core;
|
||||
|
||||
/**
|
||||
* An interface for running cron tasks.
|
||||
*/
|
||||
interface CronInterface {
|
||||
|
||||
/**
|
||||
* Executes a cron run.
|
||||
*
|
||||
* Do not call this function from a test. Use $this->cronRun() instead.
|
||||
*
|
||||
* @return bool
|
||||
* TRUE upon success, FALSE otherwise.
|
||||
*/
|
||||
public function run();
|
||||
|
||||
}
|
Reference in a new issue