class SetDialogOptionCommand

Defines an AJAX command that sets jQuery UI dialog properties.

Hierarchy

Related topics

Ajax API
Overview for Drupal's Ajax API.

File

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

Namespace

Drupal\Core\Ajax

Members

Name Modifiers Type Description
SetDialogOptionCommand::$optionName protected property A jQuery UI dialog option name.
SetDialogOptionCommand::$optionValue protected property A jQuery UI dialog option value.
SetDialogOptionCommand::$selector protected property A CSS selector string.
SetDialogOptionCommand::render public function Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render
SetDialogOptionCommand::__construct public function Constructs a SetDialogOptionCommand object.

© 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/class/SetDialogOptionCommand/8.1.x