diff --git a/core/lib/Drupal/Core/Menu/LocalTaskManager.php b/core/lib/Drupal/Core/Menu/LocalTaskManager.php index 26f20a5..fd9dbd9 100644 --- a/core/lib/Drupal/Core/Menu/LocalTaskManager.php +++ b/core/lib/Drupal/Core/Menu/LocalTaskManager.php @@ -115,7 +115,7 @@ public function __construct(ControllerResolverInterface $controller_resolver, Re $this->routeProvider = $route_provider; $this->accessManager = $access_manager; $this->alterInfo($module_handler, 'local_tasks'); - $this->setCacheBackend($cache, $language_manager, 'local_task', array('local_task' => TRUE)); + $this->setCacheBackend($cache, $language_manager, 'local_task', array('local_task' => 1)); } /** diff --git a/core/modules/config/config.module b/core/modules/config/config.module index 764c198..76deec4 100644 --- a/core/modules/config/config.module +++ b/core/modules/config/config.module @@ -64,7 +64,7 @@ function config_menu() { $items['admin/config/development/configuration'] = array( 'title' => 'Configuration management', 'description' => 'Import, export, or synchronize your site configuration.', - 'route_name' => 'config_management', + 'route_name' => 'config.sync', ); return $items; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php index 2988716..c1d59e4 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php @@ -97,7 +97,7 @@ protected function getLocalTaskManager($modules, $route_name, $route_params) { ->will($this->returnValue(new Language(array('id' => 'en')))); $cache_backend = $this->getMock('Drupal\Core\Cache\CacheBackendInterface'); - $manager->setCacheBackend($cache_backend, $language_manager, 'local_task', array('local_task' => TRUE)); + $manager->setCacheBackend($cache_backend, $language_manager, 'local_task', array('local_task' => 1)); return $manager; }