public function CssCollectionRendererWrapper::render in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/Asset/CssCollectionRendererWrapper.php \Drupal\webprofiler\Asset\CssCollectionRendererWrapper::render()
- 8.2 webprofiler/src/Asset/CssCollectionRendererWrapper.php \Drupal\webprofiler\Asset\CssCollectionRendererWrapper::render()
- 4.x webprofiler/src/Asset/CssCollectionRendererWrapper.php \Drupal\webprofiler\Asset\CssCollectionRendererWrapper::render()
Renders an asset collection.
Parameters
array $assets: An asset collection.
Return value
array A render array to render the asset collection.
Overrides AssetCollectionRendererInterface::render
File
- webprofiler/
src/ Asset/ CssCollectionRendererWrapper.php, line 35
Class
- CssCollectionRendererWrapper
- Class CssCollectionRendererWrapper.
Namespace
Drupal\webprofiler\AssetCode
public function render(array $css_assets) {
$this->dataCollector
->addCssAsset($css_assets);
return $this->assetCollectionRenderer
->render($css_assets);
}