You are here

public function WatchdogPhp::getAction in Site Audit 8.3

.

Overrides SiteAuditCheckBase::getAction

File

src/Plugin/SiteAuditCheck/WatchdogPhp.php, line 56

Class

WatchdogPhp
Provides the WatchdogPhp Check.

Namespace

Drupal\site_audit\Plugin\SiteAuditCheck

Code

public function getAction() {
  if ($this->score == SiteAuditCheckBase::AUDIT_CHECK_SCORE_WARN) {
    return $this
      ->t('Every time Drupal logs a PHP notice, warning or error, PHP executes slower and the writing operation locks the database. By eliminating the problems, your site will be faster.');
  }
}