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\DataCollector

Code

public function addCssAsset($cssAsset) {
    $this->data['css'] = NestedArray::mergeDeepArray([
        $cssAsset,
        $this->data['css'],
    ]);
}