hook_domainpath($domain_id, &$path, $path_language = '')Allows modules to alter path when rewriting URLs.
This hook will fire for all paths and may be resource-intensive. Look at Domain Prefix for best practices implementation. In Domain Prefix, we only include this function if we know it is necessary.
$domain_id The domain_id taken from {domain}.
$path The internal drupal path to the node.
$path_language Language code to look up the path in.
./API.php, line 672
<?php
function hook_domainpath($domain_id, &$path, $path_language = '') {
// Give a normal path alias
$path = drupal_get_path_alias($path);
}
?>