Constructs a SetDialogTitleCommand object.
string $selector: The selector of the dialog whose title will be set. If set to an empty value, the default modal dialog will be selected.
string $title: The title that will be set on the dialog.
Overrides SetDialogOptionCommand::__construct
public function __construct($selector, $title) {
$this->selector = $selector ? $selector : '#drupal-modal';
$this->optionName = 'title';
$this->optionValue = $title;
}