function 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'],
]);
}