public function SetDialogOptionCommand::render

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

Overrides CommandInterface::render

File

drupal/core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php, line 57
Contains \Drupal\Core\Ajax\SetDialogOptionCommand.

Class

SetDialogOptionCommand
Defines an AJAX command that sets jQuery UI dialog properties.

Namespace

Drupal\Core\Ajax

Code

public function render() {
  return array(
    'command' => 'setDialogOption',
    'selector' => $this->selector,
    'optionName' => $this->optionName,
    'optionValue' => $this->optionValue,
  );
}