domain_get_path_match

Versions
domain
domain_get_path_match($path)

Allow the lookup of path rewrites.

Note that unlinke domain_get_node_match(), this function assumes that all links will be written to the current domain.

Parameters

$path The link path.

Return value

The domain array for the best matching domain for links to this node.

Code

./domain.module, line 1220

<?php
function domain_get_path_match($path) {
  global $_domain;
  $source = $_domain;
  drupal_alter('domain_source_path', $source, $path);
  return $source;
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List