Issue #1864272 by dawehner, Crell: Fixed Don't use path.path_manager() service, as it is uncached.
parent
8cb0a1945b
commit
e970ca8f17
|
@ -642,7 +642,7 @@ function views_ui_views_analyze($view) {
|
|||
continue;
|
||||
}
|
||||
if ($display->hasPath() && $path = $display->getOption('path')) {
|
||||
$normal_path = drupal_container()->get('path.alias_manager')->getSystemPath($path);
|
||||
$normal_path = drupal_container()->get('path.alias_manager.cached')->getSystemPath($path);
|
||||
if ($path != $normal_path) {
|
||||
$ret[] = Analyzer::formatMessage(t('You have configured display %display with a path which is an path alias as well. This might lead to unwanted effects so better use an internal path.', array('%display' => $display['display_title'])), 'warning');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue