function _hosting_platform_status_codes_labels in Hosting 7.3
Same name and namespace in other branches
- 7.4 platform/hosting_platform.module \_hosting_platform_status_codes_labels()
Platform status codes to human-readable label map.
1 string reference to '_hosting_platform_status_codes_labels'
- hosting_platform_entity_property_info in platform/
hosting_platform.module - Implements hook_entity_property_info().
File
- platform/
hosting_platform.module, line 936 - Platform node type definition.
Code
function _hosting_platform_status_codes_labels() {
$labels = array();
foreach (_hosting_platform_status_codes() as $code => $info) {
$labels[$code] = $info['label'];
}
return $labels;
}