You are here

public function CacheBinsAll::getResultInfo in Site Audit 8.3

.

Overrides SiteAuditCheckBase::getResultInfo

File

src/Plugin/SiteAuditCheck/CacheBinsAll.php, line 27

Class

CacheBinsAll
Provides the CacheBinsAll Check.

Namespace

Drupal\site_audit\Plugin\SiteAuditCheck

Code

public function getResultInfo() {
  $ret_val = [
    '#header' => [
      'Bin',
      'Class',
    ],
    '#theme' => 'table',
  ];
  foreach ($this->registry->cache_bins_all as $bin => $class) {
    $ret_val['#rows'][] = [
      $bin,
      $class,
    ];
  }
  return $ret_val;
}