You are here

function table_trash_help in Table Trash 7

Implements hook_help().

File

./table_trash.module, line 157
table_trash.module

Code

function table_trash_help($path, $arg) {
  switch ($path) {
    case 'admin/help#table_trash':
      $t = t('Configuration instructions and tips are in this <a target="readme" href="@README">README</a> file.<br/>Known issues and solutions may be found on the <a taget="project" href="@table_trash">Table Trash</a> project page.', array(
        '@README' => url(drupal_get_path('module', 'table_trash') . '/README.txt'),
        '@table_trash' => url('http://drupal.org/project/table_trash'),
      ));
      break;
    case 'admin/config/content/table_trash':
      $t = t('A <strong>table decoration</strong> consists of a set of table features, selected below, to be added to one or more tables on this site. Apart from the features you wish to include in each decoration, you specify the pages and tables the decoration applies to.');
      break;
  }
  return empty($t) ? '' : '<p>' . $t . '</p>';
}