1 entity_query_access_test.module entity_query_access_test_menu()

Implements hook_menu().

File

core/modules/entity/tests/entity_query_access_test/entity_query_access_test.module, line 11
Helper module for testing EntityFieldQuery access on any type of entity.

Code

function entity_query_access_test_menu() {
  $items['entity-query-access/test/%'] = array(
    'title' => "Retrieve a sample of entity query access data",
    'page callback' => 'entity_query_access_test_sample_query',
    'page arguments' => array(2),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );

  return $items;
}