public function Scanner::isEnabled in ClamAV 8
Same name and namespace in other branches
- 2.x src/Scanner.php \Drupal\clamav\Scanner::isEnabled()
Check whether the anti-virus checks are enabled.
Return value
boolean TRUE if files should be scanned.
File
- src/
Scanner.php, line 65
Class
- Scanner
- Service class for the ClamAV scanner instance.
Namespace
Drupal\clamavCode
public function isEnabled() {
return $this->config
->enabled();
}