$container ->
register('path_processor_manager', 'Drupal\Core\PathProcessor\NullPathProcessorManager'
);
$container ->
register('router.dumper', 'Drupal\Core\Routing\NullMatcherDumper'
);
// Replace the route builder with an empty implementation.
// @todo Convert installer steps into routes; add an installer.routing.yml.
$definition =
$container->
getDefinition('router.builder'
);
$definition->
setClass('Drupal\Core\Installer\InstallerRouteBuilder'
) // The core router builder, but there is no reason here to be lazy, so
// we don't need to ship with a custom proxy class.
->
setLazy(FALSE
);
parent::
register($container);
} /**
* {@inheritdoc}
*/
public function alter(ContainerBuilder
$container) { // Disable Twig cache (php storage does not exist yet).
$twig_config =
$container->
getParameter('twig.config'
);
$twig_config['cache'
] = FALSE;