public function WatchdogPhp::getResultInfo in Site Audit 8.3
.
Overrides SiteAuditCheckBase::getResultInfo
1 call to WatchdogPhp::getResultInfo()
- WatchdogPhp::getResultWarn in src/
Plugin/ SiteAuditCheck/ WatchdogPhp.php - .
File
- src/
Plugin/ SiteAuditCheck/ WatchdogPhp.php, line 29
Class
- WatchdogPhp
- Provides the WatchdogPhp Check.
Namespace
Drupal\site_audit\Plugin\SiteAuditCheckCode
public function getResultInfo() {
$counts = [];
foreach ($this->registry->php_counts as $severity => $count) {
$counts[] = $severity . ': ' . $count;
}
$ret_val = implode(', ', $counts);
$ret_val .= ' - total ' . $this->registry->percent_php . '%';
return $ret_val;
}