You are here

function hosting_get_hostmaster_site_nid in Hosting 7.4

Same name and namespace in other branches
  1. 7.3 hosting.inc \hosting_get_hostmaster_site_nid()

Helper function to get the node ID of the Aegir front-end site.

6 calls to hosting_get_hostmaster_site_nid()
hook_hosting_task_guarded_nodes in ./hosting.api.php
Return a list of Aegir entities to guard against destructive tasks.
hosting_feature_rebuild_caches in ./hosting.features.inc
Perform necessary task after enabling or disabling Hosting features.
hosting_get_hostmaster_nid in ./hosting.inc
Shim to preserve API stability. Deprecated. Use hosting_get_hostmaster_site_nid().
hosting_get_hostmaster_platform_nid in ./hosting.inc
Helper function to get the node ID of the Aegir platform.
hosting_site_hosting_task_guarded_nodes in site/hosting_site.module
Implements hook_hosting_task_guarded_nodes().

... See full list

File

./hosting.inc, line 108
General purpose Hosting module functions.

Code

function hosting_get_hostmaster_site_nid() {
  return variable_get('aegir_hostmaster_site_nid', NULL);
}