Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CommandWithAttachedAssetsTrait.php

function 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 51

Class

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

Namespace

Drupal\Core\Ajax

Code

public function getAttachedAssets() {
    return $this->attachedAssets;
}
RSS feed
Powered by Drupal