SystemMainBlock::$mainContent
Same name in other branches
- 8.9.x core/modules/system/src/Plugin/Block/SystemMainBlock.php \Drupal\system\Plugin\Block\SystemMainBlock::mainContent
- 10 core/modules/system/src/Plugin/Block/SystemMainBlock.php \Drupal\system\Plugin\Block\SystemMainBlock::mainContent
- 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\BlockCode
protected $mainContent;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.