class JsCollectionRenderer

Renders JavaScript assets.

Hierarchy

File

core/lib/Drupal/Core/Asset/JsCollectionRenderer.php, line 11

Namespace

Drupal\Core\Asset

Members

Name Modifiers Type Description
JsCollectionRenderer::$state protected property The state key/value store.
JsCollectionRenderer::render public function This class evaluates the aggregation enabled/disabled condition on a group by group basis by testing whether an aggregate file has been made for the group rather than by testing the site-wide aggregation setting. This allows this class to work… Overrides AssetCollectionRendererInterface::render
JsCollectionRenderer::__construct public function Constructs a JsCollectionRenderer.

© 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!JsCollectionRenderer.php/class/JsCollectionRenderer/8.1.x