class JsCollectionGrouper

Groups JavaScript assets.

Hierarchy

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!JsCollectionGrouper.php/class/JsCollectionGrouper/8.1.x