You are here

interface AssetCollectionGrouperInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php \Drupal\Core\Asset\AssetCollectionGrouperInterface

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

Hierarchy

Expanded class hierarchy of AssetCollectionGrouperInterface

All classes that implement AssetCollectionGrouperInterface

File

core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php, line 12
Contains \Drupal\Core\Asset\AssetCollectionGrouperInterface.

Namespace

Drupal\Core\Asset
View source
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);

}

Members

Namesort descending Modifiers Type Description Overrides
AssetCollectionGrouperInterface::group public function Groups a collection of assets into logical groups of asset collections. 2