AssetCollectionRendererInterface.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\Core\AssetFile
core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.phpView source
<?php
namespace Drupal\Core\Asset;
/**
* Interface defining a service that generates a render array to render assets.
*/
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);
}
Interfaces
Name | Description |
---|---|
AssetCollectionRendererInterface | Interface defining a service that generates a render array to render assets. |