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

1
2
3
public function getAttachedAssets() {
  return $this->attachedAssets;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.