function domain_test_domain_load in Domain Access 7.3
Same name and namespace in other branches
- 8 domain/tests/modules/domain_test/domain_test.module \domain_test_domain_load()
Implements hook_domain_load().
Add a 'test' variable to the domain array.
File
- tests/
domain_test.domain.inc, line 13 - Domain hook tests.
Code
function domain_test_domain_load(&$domain) {
// Add a variable to the $domain array.
$domain['testvar'] = TRUE;
}