You are here

function ultimate_cron_easy_hooks in Ultimate Cron 7

Same name and namespace in other branches
  1. 8 ultimate_cron.module \ultimate_cron_easy_hooks()
  2. 6 ultimate_cron.module \ultimate_cron_easy_hooks()

Get a list of the "easy-hooks".

Return value

array hooks (hook_name => hook_description).

1 call to ultimate_cron_easy_hooks()
ultimate_cron_get_hooks in ./ultimate_cron.module
Get cron hooks available.

File

./ultimate_cron.module, line 1275
@todo Add filter on overview page. @todo Add log view (with graph). @todo Make proper markup for overview page. @todo Refactor drush stuff, too many intimate relations with Background Process @todo Refactor Cron % offset stuff. Too mixed up and…

Code

function ultimate_cron_easy_hooks() {
  return array(
    'cron' => 'Default cron handler',
    'hourly' => 'Hourly',
    'daily' => 'Daily',
    'weekly' => 'Weekly',
    'monthly' => 'Monthly',
    'yearly' => 'Yearly',
  );
}