_domain_bootstrap_modules_get

Versions
domain
_domain_bootstrap_modules_get()

Retrieves the value of the variable 'domain_bootstrap_modules' from the {variable} table. This function does not use Drupal's variable system.

Return value

An array containing module names.

Code

./domain.bootstrap.inc, line 160

<?php
function _domain_bootstrap_modules_get() {
  global $conf;
  $key = 'domain_bootstrap_modules';
  $table = domain_get_primary_table('variable');
  $result = db_result(db_query("SELECT value FROM $table WHERE name = '%s'", $key));
  if (!empty($result)) {
    $conf[$key] = unserialize($result);
  }
  else {
    $conf[$key] = array('domain');
  }
  return $conf[$key];
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List