X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FPlugin%2FBlock%2FSystemMainBlock.php;h=92f443081284016ae51797aadbbe9d76bafc3e12;hb=9424afc6c1f518c301bf87a23c047d1873435d05;hp=beba38db4a8d4919430ba2d5f0a1714dde68bdc0;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/system/src/Plugin/Block/SystemMainBlock.php b/web/core/modules/system/src/Plugin/Block/SystemMainBlock.php index beba38db4..92f443081 100644 --- a/web/core/modules/system/src/Plugin/Block/SystemMainBlock.php +++ b/web/core/modules/system/src/Plugin/Block/SystemMainBlock.php @@ -10,7 +10,10 @@ use Drupal\Core\Block\MainContentBlockPluginInterface; * * @Block( * id = "system_main_block", - * admin_label = @Translation("Main page content") + * admin_label = @Translation("Main page content"), + * forms = { + * "settings_tray" = FALSE, + * }, * ) */ class SystemMainBlock extends BlockBase implements MainContentBlockPluginInterface {