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;