W3cubDocs

/Drupal 8

public function AssetCollectionRendererInterface::render

public AssetCollectionRendererInterface::render(array $assets)

Renders an asset collection.

Parameters

array $assets: An asset collection.

Return value

array A render array to render the asset collection.

File

core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php, line 19

Class

AssetCollectionRendererInterface
Interface defining a service that generates a render array to render assets.

Namespace

Drupal\Core\Asset

Code

public function render(array $assets);

© 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!AssetCollectionRendererInterface.php/function/AssetCollectionRendererInterface::render/8.1.x