You are here

function _ultimate_cron_l in Ultimate Cron 6

Same name and namespace in other branches
  1. 8 ultimate_cron.admin.inc \_ultimate_cron_l()
  2. 7 ultimate_cron.admin.inc \_ultimate_cron_l()

Helper function for links on cron list

Parameters

$text: Text for link

$path: Path to link to

Return value

type

1 call to _ultimate_cron_l()
ultimate_cron_view_page in ./ultimate_cron.admin.inc
Page overviewing cron jobs.

File

./ultimate_cron.admin.inc, line 664

Code

function _ultimate_cron_l($text, $path) {
  return l('<span>' . t($text) . '</span>', $path, array(
    'query' => drupal_get_destination(),
    'html' => TRUE,
  ));
}