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