\Drupflare\Anachron\Drupal\Asset RetrofitJsCollectionRenderer

Summary

Methods
Properties
Constants
__construct
render
addRetrofitFooter
No public properties found
No public constants found
No protected methods found
retrofitFooter
No protected constants found
No private methods found
inner
No private constants found

Properties

$retrofitFooter

$retrofitFooter : array{'#type': string, '#tag': string, '#value'?: string, '#attributes'?: array}[]

Type

array<string|int, array{'#type': string, '#tag': string, '#value'?: string, '#attributes'?: array}> —

$inner

$inner : \Drupal\Core\Asset\AssetCollectionRendererInterface

Type

AssetCollectionRendererInterface

Methods

__construct()

__construct(\Drupal\Core\Asset\AssetCollectionRendererInterface  $inner) : mixed

Parameters

\Drupal\Core\Asset\AssetCollectionRendererInterface $inner

Returns

mixed —

render()

render(array  $assets) : array

Parameters

array $assets

Returns

array —

addRetrofitFooter()

addRetrofitFooter(array{'#type': string, '#tag': string, '#value'?: string, '#attributes'?: array}  $element) : void

Parameters

array{'#type': string, '#tag': string, '#value'?: string, '#attributes'?: array} $element

Returns

void —