diff --git a/core/modules/system/src/PathBasedBreadcrumbBuilder.php b/core/modules/system/src/PathBasedBreadcrumbBuilder.php index 261ae32a2491184b6aa2614d037fb4b0a686bf18..609ffd515449286fdc612091a269936aed0cd6a1 100644 --- a/core/modules/system/src/PathBasedBreadcrumbBuilder.php +++ b/core/modules/system/src/PathBasedBreadcrumbBuilder.php @@ -207,8 +207,6 @@ protected function getRequestForPath($path, array $exclude) { if (!empty($exclude[$path])) { return NULL; } - // @todo Use the RequestHelper once https://www.drupal.org/node/2090293 is - // fixed. $request = Request::create($path); // Performance optimization: set a short accept header to reduce overhead in // AcceptHeaderMatcher when matching the request.