From 893f61f947af3c32d5b7808e04ad22dfc2ddde4a Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Tue, 25 Jul 2017 12:37:28 +0200 Subject: [PATCH] New module path_alias_xt --- includes/path.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/path.inc b/includes/path.inc index 8ed5754..56d7ac9 100644 --- a/includes/path.inc +++ b/includes/path.inc @@ -106,6 +106,11 @@ function drupal_lookup_path($action, $path = '', $path_language = '') { * found. */ function drupal_get_path_alias($path, $path_language = '') { + + if (module_exists('path_alias_xt')) { + return path_alias_xt_get_path_alias($path, $path_language); + } + $result = $path; if ($alias = drupal_lookup_path('alias', $path, $path_language)) { $result = $alias;