You are here

function automatic_updates_test_menu in Automatic Updates 7

Implements hook_menu().

File

tests/automatic_updates_test.module, line 11
Dummy module for testing automatic updates.

Code

function automatic_updates_test_menu() {
  $items['automatic_updates/test-json'] = array(
    'title' => 'JSON',
    'page callback' => 'automatic_updates_test_json',
    'access callback' => TRUE,
  );
  $items['automatic_updates/test-json-denied'] = array(
    'title' => 'JSON',
    'page callback' => 'automatic_updates_test_json',
    'access callback' => FALSE,
  );
  return $items;
}