You are here

public function SecurityReview::isConfigured in Security Review 8

Returns whether the module has been configured.

If the module has been configured on the settings page this function returns true. Otherwise it returns false.

Return value

bool A boolean indicating whether the module has been configured.

File

src/SecurityReview.php, line 91

Class

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

Namespace

Drupal\security_review

Code

public function isConfigured() {
  return $this->config
    ->get('configured') === TRUE;
}