diff -u b/core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php b/core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php --- b/core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php @@ -99,10 +99,10 @@ 'region' => '-1', 'plugin' => 'test_html', 'settings' => array( - 'cache' => 1, 'label' => '', 'module' => 'block_test', 'label_display' => BlockInterface::BLOCK_LABEL_VISIBLE, + 'cache' => DRUPAL_NO_CACHE, ), 'visibility' => NULL, ); only in patch2: unchanged: --- a/core/modules/menu/menu.module +++ b/core/modules/menu/menu.module @@ -319,7 +319,7 @@ function menu_block_view_system_menu_block_alter(array &$build, BlockPluginInter $menu_name = $block->getDerivativeId(); if (isset($menus[$menu_name]) && isset($build['content'])) { foreach (element_children($build['content']) as $key) { - $build['content']['#contextual_links']['menu'] = array( + $build['#contextual_links']['menu'] = array( 'route_parameters' => array('menu' => $build['content'][$key]['#original_link']['menu_name']), ); }