You are here

public function SecurityReview::setLastRun in Security Review 8

Sets the 'last_run' value.

Parameters

int $last_run: The new value for 'last_run'.

File

src/SecurityReview.php, line 165

Class

SecurityReview
A class containing static methods regarding the module's configuration.

Namespace

Drupal\security_review

Code

public function setLastRun($last_run) {
  $this->state
    ->set('last_run', $last_run);
}