Drupal 8  8.0.2
CommandWithAttachedAssetsInterface Interface Reference
Inheritance diagram for CommandWithAttachedAssetsInterface:

Public Member Functions

 getAttachedAssets ()

Detailed Description

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.

Member Function Documentation

getAttachedAssets ( )

Gets the attached assets.

|null The attached assets for this command.

The documentation for this interface was generated from the following file: