You are here

public function ThemeDataCollector::getPanelSummary in Devel 4.x

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

Returns the string used in vertical tab summary.

Return value

string The panel summary.

Overrides DrupalDataCollectorInterface::getPanelSummary

File

webprofiler/src/DataCollector/ThemeDataCollector.php, line 162

Class

ThemeDataCollector
Class ThemeDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getPanelSummary() {
  return $this
    ->t('Name: @name', [
    '@name' => $this
      ->getActiveTheme()['name'],
  ]);
}