You are here

function blockreference_menu in Block reference 6

Same name and namespace in other branches
  1. 7.2 blockreference.module \blockreference_menu()
  2. 7 blockreference.module \blockreference_menu()

Implementation of hook_menu().

File

./blockreference.module, line 11
Defines a field type for referencing a block from a node.

Code

function blockreference_menu() {
  $items = array();
  $items['blockreference/autocomplete'] = array(
    'title' => 'Blockreference autocomplete',
    'page callback' => 'blockreference_autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}