You are here

function current_search_current_search_items in Facet API 7

Same name and namespace in other branches
  1. 6.3 contrib/current_search/current_search.module \current_search_current_search_items()
  2. 7.2 contrib/current_search/current_search.module \current_search_current_search_items()

Implements hook_current_search_items().

File

contrib/current_search/current_search.module, line 192
Provides an interface for creating blocks containing information about the current search.

Code

function current_search_current_search_items() {
  return array(
    'text' => array(
      'handler' => array(
        'label' => t('Custom text'),
        'class' => 'CurrentSearchItemText',
      ),
    ),
    'active' => array(
      'handler' => array(
        'label' => t('Active items'),
        'class' => 'CurrentSearchItemActive',
      ),
    ),
    'group' => array(
      'handler' => array(
        'label' => t('Field group'),
        'class' => 'CurrentSearchGroup',
      ),
    ),
  );
}