You are here

public function PanelsDisplayVariant::setPageTitle in Panels 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/DisplayVariant/PanelsDisplayVariant.php \Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant::setPageTitle()

Sets the page title.

Parameters

string $title: The desired page title.

Return value

$this

File

src/Plugin/DisplayVariant/PanelsDisplayVariant.php, line 323

Class

PanelsDisplayVariant
Provides a display variant that simply contains blocks.

Namespace

Drupal\panels\Plugin\DisplayVariant

Code

public function setPageTitle($title) {
  $this->configuration['page_title'] = $title;
  return $this;
}