domain_get_domain

Versions
domain
domain_get_domain()

Return the currently active domain.

This value is stored in a global, but having a function will let us replace that with a static function in D7.

Return value

An array of data defining the currently active domain.

Code

./domain.module, line 984

<?php
function domain_get_domain() {
  return $GLOBALS['_domain'];
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List