Renders JavaScript assets.
Hierarchy
- class \Drupal\Core\Asset\JsCollectionRenderer implements AssetCollectionRendererInterface
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. |
Please login to continue.