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

1
2
3
public function setDialogOptions($dialog_options) {
  $this->dialogOptions = $dialog_options;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.