You are here

function path_alias_xt_init in Extended Path Aliases 6

Same name and namespace in other branches
  1. 7 path_alias_xt.module \path_alias_xt_init()

File

./path_alias_xt.module, line 221
Extended Path Aliases.

Code

function path_alias_xt_init() {
  if (function_exists('runkit_function_redefine')) {
    $args = '$path, $path_language=""';
    $body = 'return path_alias_xt_get_path_alias($path, $path_language);';
    runkit_function_redefine('drupal_get_path_alias', $args, $body);
  }
}