function _hosting_site_status in Hosting 5
Same name and namespace in other branches
- 6.2 site/hosting_site.module \_hosting_site_status()
- 7.4 site/hosting_site.module \_hosting_site_status()
- 7.3 site/hosting_site.module \_hosting_site_status()
1 call to _hosting_site_status()
- hosting_site_view in site/
hosting_site.module
File
- site/
hosting_site.module, line 512
Code
function _hosting_site_status($node) {
static $labels = array(
HOSTING_SITE_QUEUED => "Queued",
HOSTING_SITE_ENABLED => "Enabled",
HOSTING_SITE_DELETED => "Deleted",
HOSTING_SITE_DISABLED => "Disabled",
);
return $labels[$node->site_status];
}