Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Core / Block / MainContentBlockPluginInterface.php
1 <?php
2
3 namespace Drupal\Core\Block;
4
5 /**
6  * The interface for "main page content" blocks.
7  *
8  * A main page content block represents the content returned by the controller.
9  *
10  * @ingroup block_api
11  */
12 interface MainContentBlockPluginInterface extends BlockPluginInterface {
13
14   /**
15    * Sets the main content render array.
16    *
17    * @param array $main_content
18    *   The render array representing the main content.
19    */
20   public function setMainContent(array $main_content);
21
22 }