You are here

public function ConfigDataCollector::getPanelSummary in Devel 8.2

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/ConfigDataCollector.php \Drupal\webprofiler\DataCollector\ConfigDataCollector::getPanelSummary()
  2. 8 webprofiler/src/DataCollector/ConfigDataCollector.php \Drupal\webprofiler\DataCollector\ConfigDataCollector::getPanelSummary()
  3. 4.x webprofiler/src/DataCollector/ConfigDataCollector.php \Drupal\webprofiler\DataCollector\ConfigDataCollector::getPanelSummary()

Returns the string used in vertical tab summary.

Return value

string The panel summary.

Overrides DrupalDataCollectorInterface::getPanelSummary

File

webprofiler/src/DataCollector/ConfigDataCollector.php, line 58

Class

ConfigDataCollector
Provides a datacollector to show all requested configs.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getPanelSummary() {
  return $this
    ->t('Total: @count', [
    '@count' => count($this
      ->getConfigNames()),
  ]);
}