Added missing modules, including some as submodules.
[yaffs-website] / web / modules / contrib / layout_plugin / src / Plugin / Layout / LayoutInterface.php
1 <?php
2
3 namespace Drupal\layout_plugin\Plugin\Layout;
4
5 use Drupal\Component\Plugin\DerivativeInspectionInterface;
6 use Drupal\Component\Plugin\PluginInspectionInterface;
7
8 /**
9  * Provides an interface for static Layout plugins.
10  */
11 interface LayoutInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
12
13   /**
14    * Build a render array for layout with regions.
15    *
16    * @param array $regions
17    *   An associative array keyed by region name, containing render arrays
18    *   representing the content that should be placed in each region.
19    *
20    * @return array
21    *   Render array for the layout with regions.
22    */
23   public function build(array $regions);
24
25 }