You are here

public function PerformanceTimingDataCollector::setData in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/DataCollector/PerformanceTimingDataCollector.php \Drupal\webprofiler\DataCollector\PerformanceTimingDataCollector::setData()
  2. 8.2 webprofiler/src/DataCollector/PerformanceTimingDataCollector.php \Drupal\webprofiler\DataCollector\PerformanceTimingDataCollector::setData()
  3. 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\DataCollector

Code

public function setData($data) {
  $this->data['performance'] = $data;
}