You are here

function flipping_book_reference_menu in Flipping Book 7

Implements hook_menu().

File

./flipping_book_reference.module, line 13
Defines a field type for referencing one flipping_book from a node.

Code

function flipping_book_reference_menu() {
  $items['flipping_book_reference/autocomplete/%/%/%'] = array(
    'page callback' => 'flipping_book_reference_autocomplete',
    'page arguments' => array(
      2,
      3,
      4,
    ),
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}