ReplaceTitleCommand

Provides an AJAX command for replacing the page title.

This command is implemented in Drupal.AjaxCommands.prototype.viewsReplaceTitle.

Hierarchy

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.
doc_Drupal
2016-10-29 09:37:44
Comments
Leave a Comment

Please login to continue.