public function OpenDialogCommand::setDialogTitle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Ajax/OpenDialogCommand.php \Drupal\Core\Ajax\OpenDialogCommand::setDialogTitle()
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 123 - Contains \Drupal\Core\Ajax\OpenDialogCommand.
Class
- OpenDialogCommand
- Defines an AJAX command to open certain content in a dialog.
Namespace
Drupal\Core\AjaxCode
public function setDialogTitle($title) {
$this
->setDialogOptions('title', $title);
}