function services_help in Services 7
Same name and namespace in other branches
- 5 services.module \services_help()
- 6.3 services.module \services_help()
- 6 services.module \services_help()
- 6.2 services.module \services_help()
- 7.3 services.module \services_help()
Implements hook_help().
File
- ./
services.module, line 10 - @author Services Dev Team
Code
function services_help($path, $arg) {
switch ($path) {
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.');
}
}