1 entity_test.module entity_test_menu()

Implements hook_menu().

File

core/modules/entity/tests/entity_test/entity_test.module, line 38
Test module for the entity API providing an entity type for testing.

Code

function entity_test_menu() {
  $items['test/%entity_test'] = array(
    'title' => 'Entity test',
    'page callback' => 'entity_view',
    'page arguments' => array(1),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}