function TabledragWarningCommand::render

Same name in other branches
  1. 10 core/lib/Drupal/Core/Ajax/TabledragWarningCommand.php \Drupal\Core\Ajax\TabledragWarningCommand::render()

Overrides CommandInterface::render

File

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

Class

TabledragWarningCommand
AJAX command for conveying changed tabledrag rows.

Namespace

Drupal\Core\Ajax

Code

public function render() {
    return [
        'command' => 'tabledragChanged',
        'id' => $this->id,
        'tabledrag_instance' => $this->tabledrag_instance,
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.