public function WatchdogCount::getResultInfo in Site Audit 8.3
.
Overrides SiteAuditCheckBase::getResultInfo
File
- src/
Plugin/ SiteAuditCheck/ WatchdogCount.php, line 28  
Class
- WatchdogCount
 - Provides the WatchdogCount Check.
 
Namespace
Drupal\site_audit\Plugin\SiteAuditCheckCode
public function getResultInfo() {
  if (!$this->registry->count_entries) {
    return $this
      ->t('There are no dblog entries.');
  }
  return $this
    ->t('There are @count_entries log entries.', [
    '@count_entries' => number_format($this->registry->count_entries),
  ]);
}