You are here

function taxonomy_menu_dummy_paths_menu in Taxonomy menu 7.2

Implements hook_menu().

Registers paths that are used in the tests.

File

tests/taxonomy_menu_dummy_paths.module, line 13
Helper module for the taxonomy menu custom paths tests.

Code

function taxonomy_menu_dummy_paths_menu() {
  $items['custom_base_path/%'] = array(
    'title' => 'Dummy taxonomy menu path',
    'page callback' => 'taxonomy_menu_dummy_paths_callback',
    'page arguments' => array(
      1,
    ),
    'access arguments' => array(
      'access content',
    ),
  );
  $items['custom_base_path/%/%'] = array(
    'title' => 'Dummy taxonomy menu path with depth',
    'page callback' => 'taxonomy_menu_dummy_paths_callback',
    'page arguments' => array(
      1,
      2,
    ),
    'access arguments' => array(
      'access content',
    ),
  );
  return $items;
}