You are here

function elysia_cron_description in Elysia Cron 7.2

Same name and namespace in other branches
  1. 5.2 elysia_cron.module \elysia_cron_description()
  2. 5 elysia_cron.module \elysia_cron_description()
  3. 6.2 elysia_cron.module \elysia_cron_description()
  4. 6 elysia_cron.module \elysia_cron_description()
  5. 7 elysia_cron.module \elysia_cron_description()

Obtain job description (translated)

2 calls to elysia_cron_description()
elysia_cron_admin_page in ./elysia_cron.admin.inc
Page callback for 'admin/config/system/cron' path.
elysia_cron_settings_form in ./elysia_cron.admin.inc
Form builder for general settings form.

File

./elysia_cron.module, line 1708

Code

function elysia_cron_description($job) {
  global $_elysia_cron_settings;
  if (!empty($_elysia_cron_settings[$job]['description'])) {
    $desc = $_elysia_cron_settings[$job]['description'];
  }
  else {
    $desc = theme('elysia_cron_description', array(
      'job' => $job,
    ));
  }
  return t($desc);
}