AssetCollectionGrouperInterface.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Core\AssetFile
core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.phpView source
<?php
namespace Drupal\Core\Asset;
/**
* Interface defining a service that logically groups a collection of assets.
*/
interface AssetCollectionGrouperInterface {
/**
* Groups a collection of assets into logical groups of asset collections.
*
* @param array $assets
* An asset collection.
*
* @return array
* A sorted array of asset groups.
*/
public function group(array $assets);
}
Interfaces
Name | Description |
---|---|
AssetCollectionGrouperInterface | Interface defining a service that logically groups a collection of assets. |