public function 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.

1 call to OpenDialogCommand::setDialogOptions()
OpenDialogCommand::setDialogTitle in drupal/core/lib/Drupal/Core/Ajax/OpenDialogCommand.php
Sets the dialog title (an alias of setDialogOptions).

File

drupal/core/lib/Drupal/Core/Ajax/OpenDialogCommand.php, line 95
Contains \Drupal\Core\Ajax\OpenDialogCommand.

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;
}