"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.9/core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php" (18 Nov 2020, 479 Bytes) of package /linux/www/drupal-8.9.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "MainContentBlockPluginInterface.php" see the Fossies "Dox" file reference documentation.

    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 }