comparison core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2
3 namespace Drupal\Core\Asset;
4
5 /**
6 * Interface defining a service that logically groups a collection of assets.
7 */
8 interface AssetCollectionGrouperInterface {
9
10 /**
11 * Groups a collection of assets into logical groups of asset collections.
12 *
13 * @param array $assets
14 * An asset collection.
15 *
16 * @return array
17 * A sorted array of asset groups.
18 */
19 public function group(array $assets);
20
21 }