Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ReplaceTitleCommand.php

function 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\Ajax

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal