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);
Please login to continue.