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 98

Class

OpenDialogCommand
Defines an AJAX command to open certain content in a dialog.

Namespace

Drupal\Core\Ajax

Code

public function setDialogOptions($dialog_options) {
  $this->dialogOptions = $dialog_options;
}
doc_Drupal
2016-10-29 09:32:28
Comments
Leave a Comment

Please login to continue.