interface AssetCollectionRendererInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
2 files declare their use of AssetCollectionRendererInterface
- AjaxResponseAttachmentsProcessor.php in core/
lib/ Drupal/ Core/ Ajax/ AjaxResponseAttachmentsProcessor.php - Contains \Drupal\Core\Ajax\AjaxResponseAttachmentsProcessor.
- HtmlResponseAttachmentsProcessor.php in core/
lib/ Drupal/ Core/ Render/ HtmlResponseAttachmentsProcessor.php - Contains \Drupal\Core\Render\HtmlResponseAttachmentsProcessor.
File
- core/
lib/ Drupal/ Core/ Asset/ AssetCollectionRendererInterface.php, line 12 - Contains \Drupal\Core\Asset\AssetCollectionRendererInterface.
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AssetCollectionRendererInterface:: |
public | function | Renders an asset collection. | 2 |