class CssCollectionRenderer implements AssetCollectionRendererInterface (View source)

Renders CSS assets.

Properties

protected StateInterface $state

The state key/value store.

Methods

__construct(StateInterface $state)

Constructs a CssCollectionRenderer.

array
render(array $css_assets)

Renders an asset collection.

Details

__construct(StateInterface $state)

Constructs a CssCollectionRenderer.

Parameters

StateInterface $state

The state key/value store.

array render(array $css_assets)

Renders an asset collection.

Parameters

array $css_assets

Return Value

array

A render array to render the asset collection.