function OpenDialogCommand::setDialogOptions
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/OpenDialogCommand.php \Drupal\Core\Ajax\OpenDialogCommand::setDialogOptions()
- 8.9.x core/lib/Drupal/Core/Ajax/OpenDialogCommand.php \Drupal\Core\Ajax\OpenDialogCommand::setDialogOptions()
- 11.x core/lib/Drupal/Core/Ajax/OpenDialogCommand.php \Drupal\Core\Ajax\OpenDialogCommand::setDialogOptions()
Sets the dialog options array.
Parameters
array $dialog_options: Options to be passed to the dialog implementation. Any jQuery UI option can be used. See http://api.jqueryui.com/dialog.
File
-
core/
lib/ Drupal/ Core/ Ajax/ OpenDialogCommand.php, line 111
Class
- OpenDialogCommand
- Defines an AJAX command to open certain content in a dialog.
Namespace
Drupal\Core\AjaxCode
public function setDialogOptions($dialog_options) {
$this->dialogOptions = $dialog_options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.