You are here

function facetapi_test_facetapi_adapters in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 tests/facetapi_test.facetapi.inc \facetapi_test_facetapi_adapters()
  2. 7 tests/facetapi_test.facetapi.inc \facetapi_test_facetapi_adapters()

Implements hook_facetapi_widgets().

File

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

Code

function facetapi_test_facetapi_adapters() {
  $adapters = array();
  $adapters['facetapi_test'] = array(
    'handler' => array(
      'label' => t('class for Test Adapter'),
      'class' => 'FacetapiTestAdapter',
      'path' => drupal_get_path('module', 'facetapi_test') . '/plugins/facetapi',
      'file' => 'test_adapter.inc',
      'parent' => 'adapter',
    ),
  );
  return $adapters;
}