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

Breadcrumb

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

function 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 130

Class

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

Namespace

Drupal\Core\Ajax

Code

public function setDialogTitle($title) {
    $this->setDialogOption('title', $title);
}
RSS feed
Powered by Drupal