You are here

function petreference_menu in Previewable email templates 6

Implementation of hook_menu().

File

modules/petreference/petreference.module, line 11
Defines a field type for referencing pet template to a node.

Code

function petreference_menu() {
  $items = array();
  $items['petreference/autocomplete'] = array(
    'title' => 'Petreference autocomplete',
    'page callback' => 'petreference_autocomplete',
    'access callback' => 'petreference_autocomplete_access',
    'access arguments' => array(
      2,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}