function _hosting_parse_error_code in Hosting 6.2
Same name and namespace in other branches
- 5 task/hosting_task.module \_hosting_parse_error_code()
- 7.4 task/hosting_task.module \_hosting_parse_error_code()
- 7.3 task/hosting_task.module \_hosting_parse_error_code()
Turn bitmask integer error code into translatable label.
5 calls to _hosting_parse_error_code()
- hook_hosting_task_update_status in task/
hosting_task.api.php - Reacts to tasks ending, with any status.
- hosting_task_drush_update_status in task/
hosting_task.drush.inc - Shutdown function to catch any task status.
- hosting_task_handler_field_hosting_task_status::render in task/
hosting_task_handler_field_hosting_task_status.inc - hosting_task_status_output in task/
hosting_task.module - Return the status of a task in human-readable form
- hosting_task_view in task/
hosting_task.module - Implementation of hook_view().
File
- task/
hosting_task.module, line 982 - Web server node type is defined here.
Code
function _hosting_parse_error_code($code) {
$messages = _hosting_task_error_codes();
return $messages[$code];
}