function _hosting_parse_error_code in Hosting 7.4
Same name and namespace in other branches
- 5 task/hosting_task.module \_hosting_parse_error_code()
- 6.2 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.
6 calls to _hosting_parse_error_code()
- hook_hosting_task_update_status in ./
hosting.api.php - Reacts any time a task has it's status updated, including when being run in the queue, ending, or being cancelled.
- hosting_task_drush_update_status in task/
hosting_task.drush.inc - Shutdown function to catch any task status.
- hosting_task_execute in task/
hosting_task.module - Executes a task while logging to watchdog and drush. Implemented by drush hosting-tasks and hosting-queued commands.
- hosting_task_handler_field_status::render in task/
includes/ views/ handlers/ hosting_task_handler_field_status.inc - Render the field.
- hosting_task_status_output in task/
hosting_task.module - Return the status of a task in human-readable form.
File
- task/
hosting_task.module, line 1613 - Web server node type is defined here.
Code
function _hosting_parse_error_code($code) {
$messages = _hosting_task_error_codes();
return $messages[$code];
}