You are here

function hosting_help_requirements in Hosting 5

Page callback with in depth requirement documentation

1 string reference to 'hosting_help_requirements'
hosting_menu in ./hosting.module
Implementation of hook_menu()

File

./hosting_help.inc, line 309
Hosting help subsystem

Code

function hosting_help_requirements() {
  $output .= _hosting_requirements("basic_drupal");
  $output .= _hosting_requirements("basic_unix");
  $output .= _hosting_requirements("basic_server");
  $modules = module_implements('hosting_service');
  foreach ($modules as $module) {
    $service = module_invoke($module, 'hosting_service');
    $name = current($service);
    $help = module_invoke($module, 'help', 'admin/help/provision#requirements', null);
    if ($name && $help) {
      $output .= "<a href='requirements-{$module}'></a><h3>" . t($name) . '</h3>';
      $output .= $help;
    }
  }
  return $output;
}