public function AssetsDataCollector::addCssAsset in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/DataCollector/AssetsDataCollector.php \Drupal\webprofiler\DataCollector\AssetsDataCollector::addCssAsset()
- 8.2 webprofiler/src/DataCollector/AssetsDataCollector.php \Drupal\webprofiler\DataCollector\AssetsDataCollector::addCssAsset()
- 4.x webprofiler/src/DataCollector/AssetsDataCollector.php \Drupal\webprofiler\DataCollector\AssetsDataCollector::addCssAsset()
Parameters
$cssAsset:
File
- webprofiler/
src/ DataCollector/ AssetsDataCollector.php, line 59
Class
- AssetsDataCollector
- Collects data about the used assets (CSS/JS).
Namespace
Drupal\webprofiler\DataCollectorCode
public function addCssAsset($cssAsset) {
$this->data['css'] = NestedArray::mergeDeepArray([
$cssAsset,
$this->data['css'],
]);
}