You are here

function services_help in Services 5

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

Implementation of hook_help().

File

./services.module, line 14
The module which provides the core code for drupal services

Code

function services_help($section) {
  switch ($section) {
    case 'admin/help#services':
      return '<p>' . t('Visit the <a href="@handbook_url">Services Handbook</a> for help and information.', array(
        '@handbook_url' => 'http://drupal.org/node/109782',
      )) . '</p>';
    case 'admin/build/services':
    case 'admin/build/services/browse':
      $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>';
      return $output;
    case 'admin/build/services/keys':
      return t('An API key is required to allow an application to access Drupal remotely.');
  }
}