function hostmaster_requirement_help in Hostmaster (Aegir) 5.x
4 calls to hostmaster_requirement_help()
- hostmaster_task_filesystem in ./
hostmaster.forms.inc - Configures web_server_node_form paths.
- hostmaster_task_init in ./
hostmaster.forms.inc - Form that confirms that cron is running, and that the platform has been successfuly verified
- hostmaster_task_intro in ./
hostmaster.forms.inc - hostmaster_task_webserver in ./
hostmaster.forms.inc - Configures web_server_node_form minus almost all the forms.
File
- ./
hostmaster.profile, line 110
Code
function hostmaster_requirement_help($requirement, $options = array()) {
$form = array_merge(_element_info('requirement_help'), $options);
$form['#requirement'] = $requirement;
$form['#help'] = hosting_get_requirement($requirement);
$form['#value'] = theme_requirement_help($form);
return $form;
}