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

8.0.x
webchick 2014-05-06 12:14:48 -07:00
parent 986faa1860
commit e76731ab48
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}