public function SetDialogOptionCommand::render
public SetDialogOptionCommand::render()
Return an array to be run through json_encode and sent to the client.
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 array( 'command' => 'setDialogOption', 'selector' => $this->selector, 'optionName' => $this->optionName, 'optionValue' => $this->optionValue, ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!SetDialogOptionCommand.php/function/SetDialogOptionCommand::render/8.1.x