public function PerformanceTimingDataCollector::setData in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/PerformanceTimingDataCollector.php \Drupal\webprofiler\DataCollector\PerformanceTimingDataCollector::setData()
- 8.2 webprofiler/src/DataCollector/PerformanceTimingDataCollector.php \Drupal\webprofiler\DataCollector\PerformanceTimingDataCollector::setData()
- 4.x webprofiler/src/DataCollector/PerformanceTimingDataCollector.php \Drupal\webprofiler\DataCollector\PerformanceTimingDataCollector::setData()
Parameters
$data:
File
- webprofiler/
src/ DataCollector/ PerformanceTimingDataCollector.php, line 29
Class
- PerformanceTimingDataCollector
- Collects data about frontend performance.
Namespace
Drupal\webprofiler\DataCollectorCode
public function setData($data) {
$this->data['performance'] = $data;
}