interface CommandWithAttachedAssetsInterface (View source)

Interface for Ajax commands that render content and attach assets.

All Ajax commands that render HTML should implement these methods to be able to return attached assets to the calling AjaxResponse object.

Methods

getAttachedAssets()

Gets the attached assets.

Details

AttachedAssets|null getAttachedAssets()

Gets the attached assets.

Return Value

AttachedAssets|null

The attached assets for this command.