You are here

function services_help in Services 7.3

Same name and namespace in other branches
  1. 5 services.module \services_help()
  2. 6.3 services.module \services_help()
  3. 6 services.module \services_help()
  4. 6.2 services.module \services_help()
  5. 7 services.module \services_help()

Implements hook_help().

File

./services.module, line 180
Provides a generic but powerful API for web services.

Code

function services_help($path, $arg) {
  $output = NULL;
  switch ($path) {
    case 'admin/help#services':
      $output = '<p>' . t('Visit the <a href="@handbook_url">Services Handbook</a> for help and information.', array(
        '@handbook_url' => 'http://drupal.org/node/109782',
      )) . '</p>';
      break;
    case 'admin/structure/services':
      $output = '<p>' . t('Services are collections of methods available to remote applications. They are defined in modules, and may be accessed in a number of ways through server modules. Visit the <a href="@handbook_url">Services Handbook</a> for help and information.', array(
        '@handbook_url' => 'http://drupal.org/node/109782',
      )) . '</p>';
      $output .= '<p>' . t('All enabled services and methods are shown. Click on any method to view information or test.') . '</p>';
      break;
  }
  return $output;
}