Provides an AJAX command for replacing the page title.
This command is implemented in Drupal.AjaxCommands.prototype.viewsReplaceTitle.
Hierarchy
- class \Drupal\views\Ajax\ReplaceTitleCommand implements CommandInterface
File
- core/modules/views/src/Ajax/ReplaceTitleCommand.php, line 12
Namespace
Drupal\views\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ReplaceTitleCommand::$title | protected | property | The page title to replace. |
ReplaceTitleCommand::render | public | function | Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render |
ReplaceTitleCommand::__construct | public | function | Constructs a \Drupal\views\Ajax\ReplaceTitleCommand object. |
Please login to continue.