AssetCollectionGrouperInterface::group

public AssetCollectionGrouperInterface::group(array $assets)

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

Parameters

array $assets: An asset collection.

Return value

array A sorted array of asset groups.

File

core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php, line 19

Class

AssetCollectionGrouperInterface
Interface defining a service that logically groups a collection of assets.

Namespace

Drupal\Core\Asset

Code

public function group(array $assets);
doc_Drupal
2016-10-29 08:44:50
Comments
Leave a Comment

Please login to continue.