Commit e76731ab authored by webchick's avatar webchick

Issue #2259315 by effulgentsia: Remove _system_path usage from shortcut.module.

parent 986faa18
......@@ -341,7 +341,6 @@ function shortcut_preprocess_page(&$variables) {
$request = \Drupal::request();
$item = array();
if ($route = $request->attributes->get(RouteObjectInterface::ROUTE_NAME)) {
$item['href'] = $request->attributes->get('_system_path');
// @todo What should be done on a 404/403 page?
$item['access'] = TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment