You are here

function domain_domain_load in Domain Access 7.3

Implements hook_domain_load().

Adds the home page 'path' and 'site_grant' boolean.

File

./domain.module, line 1608
Core module functions for the Domain Access suite.

Code

function domain_domain_load(&$domain) {

  // Get the path to the home page for this domain.
  $domain['path'] = domain_get_path($domain);

  // Grant access to all affiliates.
  $domain['site_grant'] = DOMAIN_SITE_GRANT;
}