Use the new router first, then the legacy router.
parent
4feeb0dce4
commit
811bf09c11
|
@ -169,8 +169,8 @@ class CoreBundle extends Bundle {
|
||||||
|
|
||||||
$container->register('router', 'Symfony\Cmf\Component\Routing\ChainRouter')
|
$container->register('router', 'Symfony\Cmf\Component\Routing\ChainRouter')
|
||||||
->addMethodCall('setContext', array(new Reference('router.request_context')))
|
->addMethodCall('setContext', array(new Reference('router.request_context')))
|
||||||
->addMethodCall('add', array(new Reference('legacy_router')))
|
->addMethodCall('add', array(new Reference('router.dynamic')))
|
||||||
->addMethodCall('add', array(new Reference('router.dynamic')));
|
->addMethodCall('add', array(new Reference('legacy_router')));
|
||||||
|
|
||||||
$container
|
$container
|
||||||
->register('cache.path', 'Drupal\Core\Cache\CacheBackendInterface')
|
->register('cache.path', 'Drupal\Core\Cache\CacheBackendInterface')
|
||||||
|
|
Loading…
Reference in New Issue