You are here

function clients_help in Web Service Clients 7

Same name and namespace in other branches
  1. 6.2 clients.module \clients_help()
  2. 6 clients.module \clients_help()
  3. 7.3 clients.module \clients_help()
  4. 7.2 clients.module \clients_help()

Implementation of hook_help()

Parameters

$path: Which path of the site we're displaying help

$arg: Holds the current path as would be returned from arg() function

Return value

Help text for the path

File

./clients.module, line 18
Clients module - handles keys and service connections and provides an API for clients

Code

function clients_help($path, $arg) {
  $output = '';
  switch ($path) {
    case "admin/help#clients":
      $output = '<p>' . t("Clients API .") . '</p>';
      break;
    case 'admin/settings/clients':
      $output = '<p>' . t("The clients module allows you to define connections to remote sites that provide services. ") . t("Use the list below to configure and review the connections defined on your site.") . '</p>';
      break;
    case 'admin/settings/clients/connections/test/%':
      $output = '<p>' . t('Use this page to test your connection is set up correctly.') . '</p>';
      break;
  }
  return $output;
}