public function ExtensionDataCollector::getData in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/ExtensionDataCollector.php \Drupal\webprofiler\DataCollector\ExtensionDataCollector::getData()
- 8.2 webprofiler/src/DataCollector/ExtensionDataCollector.php \Drupal\webprofiler\DataCollector\ExtensionDataCollector::getData()
- 4.x webprofiler/src/DataCollector/ExtensionDataCollector.php \Drupal\webprofiler\DataCollector\ExtensionDataCollector::getData()
Return value
mixed
Overrides DrupalDataCollectorInterface::getData
File
- webprofiler/
src/ DataCollector/ ExtensionDataCollector.php, line 129
Class
- ExtensionDataCollector
- Defines a data collector for the extension system.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getData() {
$data = $this->data;
// Copy protected properties over public ones to
// let json_encode to find them.
$this
->copyToPublic($data['drupal_extension']['modules']);
$this
->copyToPublic($data['drupal_extension']['themes']);
return $data;
}