You are here

function search_api_attachments_menu in Search API attachments 7

Implements hook_menu().

File

./search_api_attachments.module, line 50
Drupal hooks.

Code

function search_api_attachments_menu() {
  $items['admin/config/search/search_api/attachments'] = array(
    'title' => 'Search API attachments',
    'description' => 'Search through file content',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'search_api_attachments_settings_form',
    ),
    'access arguments' => array(
      'administer search_api',
    ),
    'file' => 'search_api_attachments.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}