hook_domain_source_alter

Versions
domain
hook_domain_source_alter(&$source, $nid)

Allows modules to specify the target link for a node.

Parameters

&$source The domain array from domain_get_node_match(), passed by reference.

$nid The node id.

Return value

No return value; modify $source by reference.

Code

./API.php, line 356

<?php
function hook_domain_source_alter(&$source, $nid) {
  // Taken from the Domain Source module
  $source = domain_source_lookup($nid);
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List