SystemMainBlock::$mainContent
Same name in other branches
- 9 core/modules/system/src/Plugin/Block/SystemMainBlock.php \Drupal\system\Plugin\Block\SystemMainBlock::mainContent
- 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
The render array representing the main page content.
Type: array
File
-
core/
modules/ system/ src/ Plugin/ Block/ SystemMainBlock.php, line 27
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.