domain_path($domain_id, $path, $path_language = '')Helper function for passing hook_domainpath() by reference.
$domain_id The domain_id taken from {domain}.
$path The internal drupal path to the node.
$path_language Optional language code to look up the path in.
The $path, modified by reference by hook_domainpath() implementations.
./domain.module, line 2282
<?php
function domain_path($domain_id, $path, $path_language = '') {
$modules = _domain_path_modules();
if (!empty($modules)) {
foreach ($modules as $module) {
// Cannot use module_invoke_all() since these are passed by reference.
$function = $module .'_domainpath';
$function($domain_id, $path, $path_language);
}
}
return $path;
}
?>