CommandWithAttachedAssetsTrait::getAttachedAssets

public CommandWithAttachedAssetsTrait::getAttachedAssets()

Gets the attached assets.

Return value

\Drupal\Core\Asset\AttachedAssets|null The attached assets for this command.

Overrides CommandWithAttachedAssetsInterface::getAttachedAssets

File

core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php, line 48

Class

CommandWithAttachedAssetsTrait
Trait for Ajax commands that render content and attach assets.

Namespace

Drupal\Core\Ajax

Code

public function getAttachedAssets() {
  return $this->attachedAssets;
}
doc_Drupal
2016-10-29 08:50:11
Comments
Leave a Comment

Please login to continue.