Sets the dialog title (an alias of setDialogOptions).
Parameters
string $title:
The new title of the dialog.
File
- drupal/core/lib/Drupal/Core/Ajax/OpenDialogCommand.php, line 118
- 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 setDialogTitle($title) {
$this
->setDialogOptions('title', $title);
}