comparison core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
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 }