interface AssetCollectionRendererInterface
Same name in other branches
- 9 core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php \Drupal\Core\Asset\AssetCollectionRendererInterface
- 8.9.x core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php \Drupal\Core\Asset\AssetCollectionRendererInterface
- 11.x core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php \Drupal\Core\Asset\AssetCollectionRendererInterface
Interface defining a service that generates a render array to render assets.
Hierarchy
- interface \Drupal\Core\Asset\AssetCollectionRendererInterface
Expanded class hierarchy of AssetCollectionRendererInterface
All classes that implement AssetCollectionRendererInterface
4 files declare their use of AssetCollectionRendererInterface
- AjaxResponseAttachmentsProcessor.php in core/
lib/ Drupal/ Core/ Ajax/ AjaxResponseAttachmentsProcessor.php - BigPipeResponseAttachmentsProcessor.php in core/
modules/ big_pipe/ src/ Render/ BigPipeResponseAttachmentsProcessor.php - BigPipeResponseAttachmentsProcessorTest.php in core/
modules/ big_pipe/ tests/ src/ Unit/ Render/ BigPipeResponseAttachmentsProcessorTest.php - HtmlResponseAttachmentsProcessor.php in core/
lib/ Drupal/ Core/ Render/ HtmlResponseAttachmentsProcessor.php
File
-
core/
lib/ Drupal/ Core/ Asset/ AssetCollectionRendererInterface.php, line 8
Namespace
Drupal\Core\AssetView source
interface AssetCollectionRendererInterface {
/**
* Renders an asset collection.
*
* @param array $assets
* An asset collection.
*
* @return array
* A render array to render the asset collection.
*/
public function render(array $assets);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
AssetCollectionRendererInterface::render | public | function | Renders an asset collection. | 2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.