You are here

public function UpdateRunnerInterface::setRunByCron in Scheduled Updates 8

Set wether or not the updates are run by cron.

Parameters

bool $run_by_cron: Wether or not the updates are runs by cron.

1 method overrides UpdateRunnerInterface::setRunByCron()
BaseUpdateRunner::setRunByCron in src/Plugin/BaseUpdateRunner.php
@inheritdoc

File

src/Plugin/UpdateRunnerInterface.php, line 120
Contains Drupal\scheduled_updates\Plugin\UpdateRunnerInterface.

Class

UpdateRunnerInterface
Interface for Update Runner Plugins.

Namespace

Drupal\scheduled_updates\Plugin

Code

public function setRunByCron($run_by_cron);