You are here

function _hosting_server_status_codes_labels in Hosting 7.4

Same name and namespace in other branches
  1. 7.3 server/hosting_server.module \_hosting_server_status_codes_labels()

Server status codes to human-readable label map.

1 string reference to '_hosting_server_status_codes_labels'
hosting_server_entity_property_info in server/hosting_server.module
Implements hook_entity_property_info().

File

server/hosting_server.module, line 59

Code

function _hosting_server_status_codes_labels() {
  $labels = array();
  foreach (_hosting_server_status_codes() as $code => $info) {
    $labels[$code] = $info['label'];
  }
  return $labels;
}