You are here

function asin_menu in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 6 asin/asin.module \asin_menu()
  2. 7.2 asin/asin.module \asin_menu()

Implementation of hook_menu().

File

asin/asin.module, line 11
Defines a field type for referencing an Amazon product.

Code

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