OpenDialogCommand::setDialogTitle

public OpenDialogCommand::setDialogTitle($title)

Sets the dialog title (an alias of setDialogOptions).

Parameters

string $title: The new title of the dialog.

File

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

Class

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

Namespace

Drupal\Core\Ajax

Code

public function setDialogTitle($title) {
  $this->setDialogOptions('title', $title);
}
doc_Drupal
2016-10-29 09:32:28
Comments
Leave a Comment

Please login to continue.