diff --git a/core/modules/system/lib/Drupal/system/Plugin/block/block/SystemMenuBlock.php b/core/modules/system/lib/Drupal/system/Plugin/block/block/SystemMenuBlock.php index 1bb5989..f7a8efa 100644 --- a/core/modules/system/lib/Drupal/system/Plugin/block/block/SystemMenuBlock.php +++ b/core/modules/system/lib/Drupal/system/Plugin/block/block/SystemMenuBlock.php @@ -29,7 +29,7 @@ class SystemMenuBlock extends BlockBase { public function access() { // @todo The 'Tools' menu should be available to anonymous users. list($plugin, $derivative) = explode(':', $this->getPluginId()); - return ($GLOBALS['user']->uid || $derivative == 'menu-tools'); + return ($GLOBALS['user']->uid || in_array($derivative, array('menu-tools', 'menu-footer'))); } /** diff --git a/core/profiles/standard/config/plugin.core.block.bartik.footer.yml b/core/profiles/standard/config/plugin.core.block.bartik.footer.yml new file mode 100644 index 0000000..d1c0c36 --- /dev/null +++ b/core/profiles/standard/config/plugin.core.block.bartik.footer.yml @@ -0,0 +1,18 @@ +id: 'system_menu_block:menu-footer' +status: '1' +cache: '-1' +subject: 'System Menu: Footer menu' +visibility: + path: + visibility: '0' + pages: '' + role: + roles: { } + node_type: + types: + article: '0' + page: '0' + visibility__active_tab: edit-visibility-path +module: system +region: footer +weight: '0'