public function OpenDialogCommand::setDialogOptions
public OpenDialogCommand::setDialogOptions($dialog_options)
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 95
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; }
© 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!OpenDialogCommand.php/function/OpenDialogCommand::setDialogOptions/8.1.x