hook_domainnav

Versions
domain
hook_domainnav($domain)

Enables modules to add additional parameters to the $domain array for use by the Domain Navigation module.

Used in cases where custom themes may require extra parameters. This hook is called by domain_nav_render().

Default parameters should not be changed; these are:

  • domain_id -- the unique identifier of this domain
  • subdomain -- the host path of the url for this domain
  • sitename -- the human-readable name of this domain
  • path -- the link path (a Drupal-formatted path)
  • active -- a boolean flag indicating the currently active domain

Related topics

Code

./API.php, line 190

<?php
function hook_domainnav($domain) {
  $extra = array();
  $extra['test'] = 'test';
  return $extra;
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List