You are here

protected property BlockPageVariant::$mainContent in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php \Drupal\block\Plugin\DisplayVariant\BlockPageVariant::mainContent
  2. 10 core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php \Drupal\block\Plugin\DisplayVariant\BlockPageVariant::mainContent

The render array representing the main page content.

Type: array

File

core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php, line 60

Class

BlockPageVariant
Provides a page display variant that decorates the main content with blocks.

Namespace

Drupal\block\Plugin\DisplayVariant

Code

protected $mainContent = [];