public function BaseCommand::render

Implements Drupal\Core\Ajax\CommandInterface:render().

Overrides CommandInterface::render

File

drupal/core/modules/edit/lib/Drupal/edit/Ajax/BaseCommand.php, line 45
Contains \Drupal\edit\Ajax\BaseCommand.

Class

BaseCommand
Base AJAX command that only exists simplify Edit's actual AJAX commands.

Namespace

Drupal\edit\Ajax

Code

public function render() {
  return array(
    'command' => $this->command,
    'data' => $this->data,
  );
}