CommandWithAttachedAssetsTrait::$attachedAssets
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php \Drupal\Core\Ajax\CommandWithAttachedAssetsTrait::attachedAssets
- 10 core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php \Drupal\Core\Ajax\CommandWithAttachedAssetsTrait::attachedAssets
- 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\AjaxCode
protected $attachedAssets;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.