Same filename and directory in other branches
- 8.9.x core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php
- 9 core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php
Namespace
Drupal\Core\Ajax
File
core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php
View source
<?php
namespace Drupal\Core\Ajax;
class SetDialogTitleCommand extends SetDialogOptionCommand {
public function __construct($selector, $title) {
$this->selector = $selector ? $selector : '#drupal-modal';
$this->optionName = 'title';
$this->optionValue = $title;
}
}
Classes