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

Breadcrumb

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

function TabledragWarningCommand::getAttachedAssets

Overrides CommandWithAttachedAssetsInterface::getAttachedAssets

File

core/lib/Drupal/Core/Ajax/TabledragWarningCommand.php, line 48

Class

TabledragWarningCommand
AJAX command for conveying changed tabledrag rows.

Namespace

Drupal\Core\Ajax

Code

public function getAttachedAssets() {
    $assets = new AttachedAssets();
    $assets->setLibraries([
        'core/drupal.tabledrag.ajax',
    ]);
    return $assets;
}
RSS feed
Powered by Drupal