You are here

function hook_domainignore in Domain Access 5

Same name and namespace in other branches
  1. 6.2 API.php \hook_domainignore()
  2. 7.2 domain.api.php \hook_domainignore()

Return an array of forms for which we cannot run hook_form_alter().

Return value

An array of form ids that should not run through domain_form_alter.

1 invocation of hook_domainignore()
domain_form_alter in ./domain.module
Implement hook_form_alter()

File

./API.php, line 483
API documentation file.

Code

function hook_domainignore() {

  // User login should always be from the current domain.
  return array(
    'user_login',
  );
}