function TabledragWarningCommand::render

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

Overrides CommandInterface::render

File

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

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.