You are here

function domain_path_url_inbound_alter in Domain Path 7

Same name and namespace in other branches
  1. 6 domain_path.module \domain_path_url_inbound_alter()

Implements hook_url_inbound_alter().

File

./domain_path.module, line 93
Path alias handling for multiple domains.

Code

function domain_path_url_inbound_alter(&$path, $original_path, $path_language) {
  if ($source = domain_path_lookup_path('source', $original_path, NULL, $path_language)) {
    $path = $source;
  }
}