diff --git a/core/core.services.yml b/core/core.services.yml index 7187e6a..d69e973 100644 --- a/core/core.services.yml +++ b/core/core.services.yml @@ -497,7 +497,7 @@ services: route_processer_csrf: class: Drupal\Core\Access\RouteProcessorCsrf tags: - - { name: route_processor_outbound, priority: 400 } + - { name: route_processor_outbound } arguments: ['@csrf_token'] transliteration: class: Drupal\Core\Transliteration\PHPTransliteration diff --git a/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterRouteProcessorsPass.php b/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterRouteProcessorsPass.php index 647a725..dd95869 100644 --- a/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterRouteProcessorsPass.php +++ b/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterRouteProcessorsPass.php @@ -17,10 +17,7 @@ class RegisterRouteProcessorsPass implements CompilerPassInterface { /** - * Adds services tagged 'route_processor_outbound' to route processor manager. - * - * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container - * The container to process. + * {@inheritdoc} */ public function process(ContainerBuilder $container) { if (!$container->hasDefinition('route_processor_manager')) { @@ -33,4 +30,5 @@ public function process(ContainerBuilder $container) { $manager->addMethodCall('addOutbound', array(new Reference($id), $priority)); } } + } diff --git a/core/lib/Drupal/Core/Routing/NullGenerator.php b/core/lib/Drupal/Core/Routing/NullGenerator.php index 61e30bc..1430f1f 100644 --- a/core/lib/Drupal/Core/Routing/NullGenerator.php +++ b/core/lib/Drupal/Core/Routing/NullGenerator.php @@ -47,7 +47,7 @@ public function getContext() { /** * Overrides Drupal\Core\Routing\UrlGenerator::processPath(). */ - protected function processPath($path, &$options = array(), Route $route = NULL) { + protected function processPath($path, &$options = array()) { return $path; } }