You are here

public function CheckSettingsInterface::get in Security Review 8

Gets a check-specific setting value identified by $key.

Parameters

string $key: The key.

mixed $default_value: Default value to return in case $key does not exist.

Return value

mixed The value of the stored setting.

1 method overrides CheckSettingsInterface::get()
CheckSettings::get in src/CheckSettings.php
Gets a check-specific setting value identified by $key.

File

src/CheckSettingsInterface.php, line 21

Class

CheckSettingsInterface
Interface for check-specific settings and forms for altering them.

Namespace

Drupal\security_review

Code

public function get($key, $default_value);