You are here

public function BlockGroup::setMainContent in Block Group 8

Sets the main content render array.

Parameters

array $main_content: The render array representing the main content.

Overrides MainContentBlockPluginInterface::setMainContent

File

src/Plugin/Block/BlockGroup.php, line 97

Class

BlockGroup
Provides a 'BlockGroup' block.

Namespace

Drupal\blockgroup\Plugin\Block

Code

public function setMainContent(array $main_content) {
  $this->mainContent = $main_content;
}