You are here

public function SecurityReview::getLastRun in Security Review 8

Returns the last time Security Review has been run.

Return value

int The last time Security Review has been run.

File

src/SecurityReview.php, line 116

Class

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

Namespace

Drupal\security_review

Code

public function getLastRun() {
  return $this->state
    ->get('last_run', 0);
}