You are here

function elysia_cron_run_form in Elysia Cron 7.2

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

Form builder for cron run form.

Return value

array From API array.

1 string reference to 'elysia_cron_run_form'
elysia_cron_admin_page in ./elysia_cron.admin.inc
Page callback for 'admin/config/system/cron' path.

File

./elysia_cron.admin.inc, line 828
Admin page callbacks for the elysia cron module.

Code

function elysia_cron_run_form() {
  $form['runf'] = array(
    '#type' => 'fieldset',
    '#access' => elysia_cron_access('execute elysia_cron'),
  );
  $form['runf']['run'] = array(
    '#type' => 'submit',
    '#value' => t('Run cron'),
  );
  return $form;
}