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
- interface \Drupal\Core\Ajax\CommandWithAttachedAssetsInterface
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. |
Please login to continue.