You are here

function background_process_get_service_hosts in Background Process 6

Same name and namespace in other branches
  1. 8 background_process.module \background_process_get_service_hosts()
  2. 7.2 background_process.module \background_process_get_service_hosts()
  3. 7 background_process.module \background_process_get_service_hosts()

Get service hosts defined in the system.

4 calls to background_process_get_service_hosts()
BackgroundProcess::determineServiceHost in ./BackgroundProcess.class.php
background_process_ass_auto_unlock in background_process_ass/background_process_ass.module
Unlock locked processes that aren't really running.
background_process_build_request in ./background_process.module
Build url and headers for http request
background_process_settings_form in ./background_process.admin.inc
FAPI definition for settings page.

File

./background_process.module, line 814

Code

function background_process_get_service_hosts() {
  global $base_url;
  $service_hosts = variable_get('background_process_service_hosts', array());
  $service_hosts += variable_get('background_process_derived_default_host', array(
    'default' => array(
      'base_url' => $base_url,
    ),
  ));
  return $service_hosts;
}