function SetDialogOptionCommand::render
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php \Drupal\Core\Ajax\SetDialogOptionCommand::render()
- 10 core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php \Drupal\Core\Ajax\SetDialogOptionCommand::render()
- 11.x core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php \Drupal\Core\Ajax\SetDialogOptionCommand::render()
Overrides CommandInterface::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\AjaxCode
public function render() {
return [
'command' => 'setDialogOption',
'selector' => $this->selector,
'optionName' => $this->optionName,
'optionValue' => $this->optionValue,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.