function domain_domainload in Domain Access 7.2
Same name and namespace in other branches
- 5 domain.module \domain_domainload()
- 6.2 domain.module \domain_domainload()
Implements hook_domainload()
Adds the home page 'path' and 'site_grant' boolean.
File
- ./
domain.module, line 1297 - Core module functions for the Domain Access suite.
Code
function domain_domainload(&$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;
}