You are here

function forena_query_menu in Forena Reports 7.3

Same name and namespace in other branches
  1. 8 forena_query/forena_query.module \forena_query_menu()
  2. 7.5 forena_query.module \forena_query_menu()
  3. 7.4 forena_query.module \forena_query_menu()

Implementation of hook_menu

File

./forena_query.module, line 11
Provides the ability to create saved queries and to test sql data blocks.

Code

function forena_query_menu() {
  $items = array();
  $items['admin/structure/forena/data'] = array(
    'type' => MENU_LOCAL_TASK,
    'title' => 'Data',
    'access arguments' => array(
      'build forena sql blocks',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'forena_query_builder_form',
    ),
    'file' => 'forena_query.inc',
  );
  return $items;
}