ReplaceTitleCommand::__construct

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

1
2
3
public function __construct($title) {
  $this->title = $title;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.