function purl_url_inbound_alter in Persistent URL 7
Same name and namespace in other branches
- 6 purl.module \purl_url_inbound_alter()
Implements hook_url_alter_inbound(). Rewrites an incoming drupal path (&$path) removing PURL modifiers.
File
- ./
purl.module, line 183
Code
function purl_url_inbound_alter(&$path, $original_path, $path_language) {
$path = purl_inited() ? purl_get_normal_path($path) : $path;
}