You are here

function facetapi_facetapi_empty_behaviors in Facet API 7

Same name and namespace in other branches
  1. 6.3 facetapi.facetapi.inc \facetapi_facetapi_empty_behaviors()
  2. 7.2 facetapi.facetapi.inc \facetapi_facetapi_empty_behaviors()

Implements hook_facetapi_empty_behaviors().

File

./facetapi.facetapi.inc, line 203
Facet API hook implementations.

Code

function facetapi_facetapi_empty_behaviors() {
  return array(
    'none' => array(
      'handler' => array(
        'label' => t('Do not display facet'),
        'class' => 'FacetapiEmptyBehaviorNone',
      ),
    ),
    'text' => array(
      'handler' => array(
        'label' => t('Display text'),
        'class' => 'FacetapiEmptyBehaviorText',
      ),
    ),
  );
}