You are here

function rolereference_menu in Role Reference 6

Implementation of hook_menu().

File

./rolereference.module, line 11
Defines a field type for referencing a role. Based almost entirely on nodereference and userreference modules.

Code

function rolereference_menu() {
  $items = array();
  $items['rolereference/autocomplete'] = array(
    'title' => 'Rolereference autocomplete',
    'page callback' => 'rolereference_autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}