3 namespace Drupal\Core\Block;
6 * The interface for "main page content" blocks.
8 * A main page content block represents the content returned by the controller.
12 interface MainContentBlockPluginInterface extends BlockPluginInterface {
15 * Sets the main content render array.
17 * @param array $main_content
18 * The render array representing the main content.
20 public function setMainContent(array $main_content);