1 cache_example.module cache_example_menu()

Implements hook_menu().

Related topics

File

modules/examples/cache_example/cache_example.module, line 34
Outlines how a module can use the Cache API.

Code

function cache_example_menu() {
  $items = array();
  $items['examples/cache_example'] = array(
    'title' => 'Cache example',
    'description' => 'Example of Backdrop Cache API',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('cache_example_page_form'),
    'access callback' => TRUE,
  );

  return $items;
}