You are here

public function SetDialogOptionCommand::render in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php \Drupal\Core\Ajax\SetDialogOptionCommand::render()
  2. 9 core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php \Drupal\Core\Ajax\SetDialogOptionCommand::render()

File

core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php, line 54

Class

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

Namespace

Drupal\Core\Ajax

Code

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