You are here

function custom_search_taxonomy_admin in Custom Search 7

Same name and namespace in other branches
  1. 6 modules/custom_search_taxonomy/custom_search_taxonomy.admin.inc \custom_search_taxonomy_admin()
2 string references to 'custom_search_taxonomy_admin'
custom_search_i18n_form_alter in modules/custom_search_i18n/custom_search_i18n.module
Implements hook_form_alter().
custom_search_taxonomy_menu in modules/custom_search_taxonomy/custom_search_taxonomy.module
Implements hook_menu().

File

modules/custom_search_taxonomy/custom_search_taxonomy.admin.inc, line 20
Admin settings for custom search taxonomy

Code

function custom_search_taxonomy_admin() {
  $vocabularies = taxonomy_get_vocabularies();
  if (count($vocabularies)) {
    $form = _custom_search_taxonomy_admin_form($vocabularies);
    return system_settings_form($form);
  }
}