You are here

function hosting_requirement_process in Hosting 5

Places the various help components info the $element array

1 call to hosting_requirement_process()
_hosting_requirements in ./hosting_help.inc
Helper function for displaying contextual help when not used in a form.

File

./hosting_help.inc, line 471
Hosting help subsystem

Code

function hosting_requirement_process(&$element) {
  if (!$element['#requirement']) {
    return element;
  }
  $element['#help'] = hosting_get_requirement($element['#requirement']);
  return $element;
}