Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OpenDialogCommand.php

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.

File

core/lib/Drupal/Core/Ajax/OpenDialogCommand.php, line 107

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;
}
RSS feed
Powered by Drupal