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

Breadcrumb

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

function CommandWithAttachedAssetsInterface::getAttachedAssets

Gets the attached assets.

Return value

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

3 methods override CommandWithAttachedAssetsInterface::getAttachedAssets()
AnnounceCommand::getAttachedAssets in core/lib/Drupal/Core/Ajax/AnnounceCommand.php
Gets the attached assets.
MessageCommand::getAttachedAssets in core/lib/Drupal/Core/Ajax/MessageCommand.php
Gets the attached assets.
TabledragWarningCommand::getAttachedAssets in core/lib/Drupal/Core/Ajax/TabledragWarningCommand.php
Gets the attached assets.

File

core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsInterface.php, line 21

Class

CommandWithAttachedAssetsInterface
Interface for Ajax commands that render content and attach assets.

Namespace

Drupal\Core\Ajax

Code

public function getAttachedAssets();
RSS feed
Powered by Drupal