PageTitleBlock::$title

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php \Drupal\Core\Block\Plugin\Block\PageTitleBlock::title
  2. 10 core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php \Drupal\Core\Block\Plugin\Block\PageTitleBlock::title
  3. 11.x core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php \Drupal\Core\Block\Plugin\Block\PageTitleBlock::title

The page title: a string (plain title) or a render array (formatted title).

Type: string|array

File

core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php, line 26

Class

PageTitleBlock
Provides a block to display the page title.

Namespace

Drupal\Core\Block\Plugin\Block

Code

protected $title = '';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.