function ExtensionDataCollector::getThemesCount
Returns the total number of active themes.
Return value
int
File
-
webprofiler/
src/ DataCollector/ ExtensionDataCollector.php, line 94
Class
- ExtensionDataCollector
- Defines a data collector for the extension system.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getThemesCount() {
return count($this->data['drupal_extension']['themes']);
}