You are here

public function CommandWithAttachedAssetsInterface::getAttachedAssets in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsInterface.php \Drupal\Core\Ajax\CommandWithAttachedAssetsInterface::getAttachedAssets()
  2. 9 core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsInterface.php \Drupal\Core\Ajax\CommandWithAttachedAssetsInterface::getAttachedAssets()

Gets the attached assets.

Return value

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

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();