interface AssetCollectionGroupOptimizerInterface
Same name in other branches
- 10 core/lib/Drupal/Core/Asset/AssetCollectionGroupOptimizerInterface.php \Drupal\Core\Asset\AssetCollectionGroupOptimizerInterface
Interface defining a service that optimizes a collection of assets.
Contains an additional method to allow for optimizing an asset group.
Hierarchy
- interface \Drupal\Core\Asset\AssetCollectionOptimizerInterface
- interface \Drupal\Core\Asset\AssetCollectionGroupOptimizerInterface extends \Drupal\Core\Asset\AssetCollectionOptimizerInterface
Expanded class hierarchy of AssetCollectionGroupOptimizerInterface
All classes that implement AssetCollectionGroupOptimizerInterface
File
-
core/
lib/ Drupal/ Core/ Asset/ AssetCollectionGroupOptimizerInterface.php, line 10
Namespace
Drupal\Core\AssetView source
interface AssetCollectionGroupOptimizerInterface extends AssetCollectionOptimizerInterface {
/**
* Optimizes a specific group of assets.
*
* @param array $group
* An asset group.
*
* @return string
* The optimized string for the group.
*/
public function optimizeGroup(array $group) : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
AssetCollectionGroupOptimizerInterface::optimizeGroup | public | function | Optimizes a specific group of assets. | 2 |
AssetCollectionOptimizerInterface::deleteAll | public | function | Deletes all optimized asset collections assets. | 2 |
AssetCollectionOptimizerInterface::optimize | public | function | Optimizes a collection of assets. | 2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.