public ReplaceTitleCommand::__construct($title)
Constructs a \Drupal\views\Ajax\ReplaceTitleCommand object.
Parameters
string $title: The title of the page.
File
- core/modules/views/src/Ajax/ReplaceTitleCommand.php, line 27
Class
- ReplaceTitleCommand
- Provides an AJAX command for replacing the page title.
Namespace
Drupal\views\Ajax
Code
public function __construct($title) {
$this->title = $title;
}
Please login to continue.