CommandWithAttachedAssetsTrait

Trait for Ajax commands that render content and attach assets.

Hierarchy

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.
doc_Drupal
2016-10-29 08:50:11
Comments
Leave a Comment

Please login to continue.