Groups JavaScript assets.
Hierarchy
- class \Drupal\Core\Asset\JsCollectionGrouper implements AssetCollectionGrouperInterface
File
- core/lib/Drupal/Core/Asset/JsCollectionGrouper.php, line 8
Namespace
Drupal\Core\Asset
Members
Name | Modifiers | Type | Description |
---|---|---|---|
JsCollectionGrouper::group | public | function | Puts multiple items into the same group if they are groupable and if they are for the same browsers. Items of the 'file' type are groupable if their 'preprocess' flag is TRUE. Items of the 'external' type are not groupable. Overrides AssetCollectionGrouperInterface::group |
Please login to continue.