You are here

public function EventsDataCollector::getPanelSummary in Devel 8.2

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

Returns the string used in vertical tab summary.

Return value

string The panel summary.

Overrides DrupalDataCollectorInterface::getPanelSummary

File

webprofiler/src/DataCollector/EventsDataCollector.php, line 134

Class

EventsDataCollector
Class EventsDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function getPanelSummary() {
  return $this
    ->t('Called listeners: @listeners', [
    '@listeners' => $this
      ->getCalledListenersCount(),
  ]);
}