You are here

function facetapi_test_facetapi_searcher_info in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 tests/facetapi_test/facetapi_test.module \facetapi_test_facetapi_searcher_info()
  2. 7 tests/facetapi_test.module \facetapi_test_facetapi_searcher_info()

Implements hook_facetapi_searcher_info().

File

tests/facetapi_test.module, line 56
Provides a test adapter and plugins.

Code

function facetapi_test_facetapi_searcher_info() {
  $info = array();
  $info['facetapi_test'] = array(
    'label' => t('Facet API Test'),
    'adapter' => 'facetapi_test',
    'types' => array(
      'test',
    ),
    'path' => 'admin/config/search/facetapi_test',
    'supports facet missing' => FALSE,
  );
  $info['facetapi_test2'] = array(
    'label' => t('Facet API Seond Searcher'),
    'adapter' => 'facetapi_test',
    'types' => array(
      'test',
    ),
    'supports facet missing' => FALSE,
  );
  return $info;
}