diff --git a/core/modules/system/lib/Drupal/system/Controller/SystemController.php b/core/modules/system/lib/Drupal/system/Controller/SystemController.php index 7e6871a..84981cd 100644 --- a/core/modules/system/lib/Drupal/system/Controller/SystemController.php +++ b/core/modules/system/lib/Drupal/system/Controller/SystemController.php @@ -9,6 +9,8 @@ use Drupal\Core\ControllerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; +use Drupal\system\SystemManager; + /** * Controller routines for system routes. */ diff --git a/core/modules/system/lib/Drupal/system/SystemManager.php b/core/modules/system/lib/Drupal/system/SystemManager.php index bf0ea24..1f72ce6 100644 --- a/core/modules/system/lib/Drupal/system/SystemManager.php +++ b/core/modules/system/lib/Drupal/system/SystemManager.php @@ -24,7 +24,7 @@ class SystemManager { * @return array * A render array suitable for drupal_render. */ - protected function getBlockContents() { + public function getBlockContents() { $item = menu_get_item(); if ($content = system_admin_menu_block($item)) { $output = array(