public function ExtensionDataCollector::getExtensionsCount in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/DataCollector/ExtensionDataCollector.php \Drupal\webprofiler\DataCollector\ExtensionDataCollector::getExtensionsCount()
- 8.2 webprofiler/src/DataCollector/ExtensionDataCollector.php \Drupal\webprofiler\DataCollector\ExtensionDataCollector::getExtensionsCount()
- 4.x webprofiler/src/DataCollector/ExtensionDataCollector.php \Drupal\webprofiler\DataCollector\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\DataCollectorCode
public function getExtensionsCount() {
return isset($this->data['drupal_extension']['count']) ? $this->data['drupal_extension']['count'] : 0;
}