You are here

public function CommandWithAttachedAssetsTrait::getAttachedAssets in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php \Drupal\Core\Ajax\CommandWithAttachedAssetsTrait::getAttachedAssets()

Gets the attached assets.

Return value

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

File

core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php, line 53
Contains \Drupal\Core\Ajax\CommandWithAttachedAssetsTrait.

Class

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

Namespace

Drupal\Core\Ajax

Code

public function getAttachedAssets() {
  return $this->attachedAssets;
}