class JsCollectionGrouper implements AssetCollectionGrouperInterface (View source)

Groups JavaScript assets.

Methods

array
group(array $js_assets)

Groups a collection of assets into logical groups of asset collections.

Details

array group(array $js_assets)

Groups a collection of assets into logical groups of asset collections.

Parameters

array $js_assets

Return Value

array

A sorted array of asset groups.