SimplePageVariant::$title

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

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

Type: string|array

File

core/lib/Drupal/Core/Render/Plugin/DisplayVariant/SimplePageVariant.php, line 30

Class

SimplePageVariant
Provides a page display variant that simply renders the main content.

Namespace

Drupal\Core\Render\Plugin\DisplayVariant

Code

protected $title = '';

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