You are here

public function ReplaceTitleCommand::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Ajax

Code

public function __construct($title) {
  $this->title = $title;
}