public function ReplaceTitleCommand::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 32 - Contains \Drupal\views\Ajax\ReplaceTitleCommand.
Class
- ReplaceTitleCommand
- Provides an AJAX command for replacing the page title.
Namespace
Drupal\views\AjaxCode
public function __construct($title) {
$this->title = $title;
}