You are here

function synonyms_commerce_menu in Synonyms 7

Implements hook_menu().

File

synonyms_commerce/synonyms_commerce.module, line 11
Provides synonyms integration with Commerce.

Code

function synonyms_commerce_menu() {
  $items = array();
  $items['synonyms-commerce/autocomplete'] = array(
    'title' => 'Synonyms-friendly product autocomplete widget',
    'page callback' => 'synonyms_commerce_autocomplete',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
    'file' => 'synonyms_commerce.pages.inc',
  );
  return $items;
}