You are here

function commerce_search_api_facetapi_widgets in Commerce Search API 7

Implements hook_facetapi_widgets().

File

./commerce_search_api.module, line 157
Provides Search API integration for Drupal Commerce.

Code

function commerce_search_api_facetapi_widgets() {
  return array(
    'commerce_search_api_fancy' => array(
      'handler' => array(
        'label' => t('Fancy attributes'),
        'class' => 'CommerceSearchApiFancy',
        'query types' => array(
          'term',
        ),
      ),
    ),
  );
}