CommandWithAttachedAssetsInterface

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.

Hierarchy

Related topics

Ajax API
Overview for Drupal's Ajax API.

File

core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsInterface.php, line 13

Namespace

Drupal\Core\Ajax

Members

Name Modifiers Type Description
CommandWithAttachedAssetsInterface::getAttachedAssets public function Gets the attached assets.
doc_Drupal
2016-10-29 08:50:11
Comments
Leave a Comment

Please login to continue.