function ReplaceTitleCommand::__construct
Same name in other branches
- 8.9.x core/modules/views/src/Ajax/ReplaceTitleCommand.php \Drupal\views\Ajax\ReplaceTitleCommand::__construct()
- 10 core/modules/views/src/Ajax/ReplaceTitleCommand.php \Drupal\views\Ajax\ReplaceTitleCommand::__construct()
- 11.x core/modules/views/src/Ajax/ReplaceTitleCommand.php \Drupal\views\Ajax\ReplaceTitleCommand::__construct()
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\AjaxCode
public function __construct($title) {
$this->title = $title;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.