function commerce_search_api_menu in Commerce Search API 7
Implements hook_menu().
File
- ./
commerce_search_api.module, line 21 - Provides Search API integration for Drupal Commerce.
Code
function commerce_search_api_menu() {
$items['admin/commerce/config/commerce_search_api'] = array(
'title' => 'Commerce Search API',
'description' => 'Configure the generated product display index.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'commerce_search_api_admin_settings_form',
),
'access arguments' => array(
'configure store',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'includes/commerce_search_api.admin.inc',
);
return $items;
}