function ExtensionDataCollector::getExtensionsCount

Returns the total number of active extensions.

Return value

int

1 call to ExtensionDataCollector::getExtensionsCount()
ExtensionDataCollector::getPanelSummary in webprofiler/src/DataCollector/ExtensionDataCollector.php
Returns the string used in vertical tab summary.

File

webprofiler/src/DataCollector/ExtensionDataCollector.php, line 76

Class

ExtensionDataCollector
Defines a data collector for the extension system.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getExtensionsCount() {
    return isset($this->data['drupal_extension']['count']) ? $this->data['drupal_extension']['count'] : 0;
}