You are here

function domain_test_domain_load in Domain Access 8

Same name and namespace in other branches
  1. 7.3 tests/domain_test.domain.inc \domain_test_domain_load()

Implements hook_domain_load().

File

domain/tests/modules/domain_test/domain_test.module, line 14
Domain hook test module.

Code

function domain_test_domain_load(array $domains) {
  foreach ($domains as $domain) {
    $domain
      ->addProperty('foo', 'bar');
  }
}