Trait for Ajax commands that render content and attach assets.
Hierarchy
- trait \Drupal\Core\Ajax\CommandWithAttachedAssetsTrait
Related topics
- Ajax API
- Overview for Drupal's Ajax API.
File
- core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php, line 12
Namespace
Drupal\Core\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
CommandWithAttachedAssetsTrait::$attachedAssets | protected | property | The attached assets for this Ajax command. |
CommandWithAttachedAssetsTrait::getAttachedAssets | public | function | Gets the attached assets. Overrides CommandWithAttachedAssetsInterface::getAttachedAssets |
CommandWithAttachedAssetsTrait::getRenderedContent | protected | function | Processes the content for output. |
Please login to continue.