SystemMainBlock::$mainContent

Same name in other branches
  1. 8.9.x core/modules/system/src/Plugin/Block/SystemMainBlock.php \Drupal\system\Plugin\Block\SystemMainBlock::mainContent
  2. 10 core/modules/system/src/Plugin/Block/SystemMainBlock.php \Drupal\system\Plugin\Block\SystemMainBlock::mainContent
  3. 11.x core/modules/system/src/Plugin/Block/SystemMainBlock.php \Drupal\system\Plugin\Block\SystemMainBlock::mainContent

The render array representing the main page content.

Type: array

File

core/modules/system/src/Plugin/Block/SystemMainBlock.php, line 26

Class

SystemMainBlock
Provides a 'Main page content' block.

Namespace

Drupal\system\Plugin\Block

Code

protected $mainContent;

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