public function ReplaceTitleCommand::render

Implements \Drupal\Core\Ajax\CommandInterface::render().

Overrides CommandInterface::render

File

drupal/core/modules/views/lib/Drupal/views/Ajax/ReplaceTitleCommand.php, line 39
Contains \Drupal\views\Ajax\ReplaceTitleCommand.

Class

ReplaceTitleCommand
Provides an AJAX command for replacing the page title.

Namespace

Drupal\views\Ajax

Code

public function render() {
  return array(
    'command' => 'viewsReplaceTitle',
    'selector' => $this->title,
  );
}