Defines an AJAX command that sets jQuery UI dialog properties.
Hierarchy
- class \Drupal\Core\Ajax\SetDialogOptionCommand implements CommandInterface
- class \Drupal\Core\Ajax\SetDialogTitleCommand
Related topics
- Ajax API
- Overview for Drupal's Ajax API.
File
- core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.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 |
SetDialogTitleCommand::__construct | public | function | Constructs a SetDialogTitleCommand object. Overrides SetDialogOptionCommand::__construct |
Please login to continue.