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\DisplayVariantCode
protected $mainContent = [];Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
