You are here

function domain_boot in Domain Access 6.2

Same name and namespace in other branches
  1. 7.3 domain.module \domain_boot()
  2. 7.2 domain.module \domain_boot()

Module setup tasks.

1. Adds the domain user data to the $user object. 2. Ensures that our custom_url_rewrite_outbound() is loaded.

@link http://drupal.org/node/529026 @link http://drupal.org/node/820062

File

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

Code

function domain_boot() {
  global $user;

  // Load domain information to the $user object.
  $user->domain_user = domain_get_user_domains($user);

  // Properly load custom_url_rewrite_outbound().
  include_once 'settings_custom_url.inc';
}