public function Check::isSkipped in Security Review 8
Returns whether the check is skipped. Checks are not skipped by default.
Return value
bool Boolean indicating whether the check is skipped.
2 calls to Check::isSkipped()
- Check::enable in src/
Check.php - Enables the check. Has no effect if the check was not skipped.
- Check::skip in src/
Check.php - Marks the check as skipped.
File
- src/
Check.php, line 320
Class
- Check
- Defines a security check.
Namespace
Drupal\security_reviewCode
public function isSkipped() {
$is_skipped = $this->config
->get('skipped');
if (!is_bool($is_skipped)) {
return FALSE;
}
return $is_skipped;
}