1 cron_example.module cron_example_menu()

Implements hook_menu().

Related topics

File

modules/examples/cron_example/cron_example.module, line 33
Demonstrates use of the Cron API in Backdrop - hook_cron()

Code

function cron_example_menu() {

  $items['examples/cron_example'] = array(
    'title' => 'Cron Example',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('cron_example_form'),
    'access callback' => TRUE,
  );

  return $items;
}