You are here

function job_scheduler_trigger_help in Job Scheduler 7.2

Implements hook_help().

File

modules/job_scheduler_trigger/job_scheduler_trigger.module, line 11
Job scheduler module.

Code

function job_scheduler_trigger_help($path, $arg) {
  switch ($path) {
    case 'admin/structure/trigger/job_scheduler':

      // The first line is the very same text trigger module provides. Do not
      // edit.
      $output = '<p>' . t('Triggers are events on your site, such as new content being added or a user logging in. The Trigger module associates these triggers with actions (functional tasks), such as unpublishing content containing certain keywords or e-mailing an administrator. The <a href="@url">Actions settings page</a> contains a list of existing actions and provides the ability to create and configure advanced actions (actions requiring configuration, such as an e-mail address or a list of banned words).', array(
        '@url' => url('admin/config/system/actions'),
      )) . '</p>';
      $output .= '<p>' . t('Below you can assign actions to run on a periodic basis. To create more triggers of this type use the <a href="@url">Job Scheduler configuration</a> page.', array(
        '@url' => url('admin/config/system/job_scheduler'),
      )) . '</p>';
      return $output;
    case 'admin/config/system/job_scheduler':
      $output = '<p>' . t('You can create any number of jobs that are triggered depending on a crontab.') . '</p>';
      $output .= '<p>' . t('To set actions for these triggers, go to the <a href="@url">Job Scheduler Triggers</a> page.', array(
        '@url' => url('admin/structure/trigger/job_scheduler'),
      )) . '</p>';
      return $output;
  }
}