CommandWithAttachedAssetsTrait::$attachedAssets

Same name in other branches
  1. 9 core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php \Drupal\Core\Ajax\CommandWithAttachedAssetsTrait::attachedAssets
  2. 8.9.x core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php \Drupal\Core\Ajax\CommandWithAttachedAssetsTrait::attachedAssets
  3. 11.x core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php \Drupal\Core\Ajax\CommandWithAttachedAssetsTrait::attachedAssets

The attached assets for this Ajax command.

Type: \Drupal\Core\Asset\AttachedAssets

File

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

Class

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

Namespace

Drupal\Core\Ajax

Code

protected $attachedAssets;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.