You are here

protected property SimplePageVariant::$mainContent in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Render/Plugin/DisplayVariant/SimplePageVariant.php \Drupal\Core\Render\Plugin\DisplayVariant\SimplePageVariant::mainContent
  2. 10 core/lib/Drupal/Core/Render/Plugin/DisplayVariant/SimplePageVariant.php \Drupal\Core\Render\Plugin\DisplayVariant\SimplePageVariant::mainContent

The render array representing the main content.

Type: array

File

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

Class

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

Namespace

Drupal\Core\Render\Plugin\DisplayVariant

Code

protected $mainContent;