You are here

public function CurrentSearchItemText::getDefaultSettings in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 contrib/current_search/plugins/current_search/item_text.inc \CurrentSearchItemText::getDefaultSettings()
  2. 7 contrib/current_search/plugins/current_search/item_text.inc \CurrentSearchItemText::getDefaultSettings()

Implements CurrentSearchItem::getDefaultSettings().

Overrides CurrentSearchItem::getDefaultSettings

File

contrib/current_search/plugins/current_search/item_text.inc, line 109
Plugin that adds custom text to the current search block.

Class

CurrentSearchItemText
Extension of CurrentSearchItem that displays all active items.

Code

public function getDefaultSettings() {
  $defaults = array(
    'plural' => 0,
    'plural_condition' => 'result-count',
    'text' => '',
    'text_plural' => '',
  );
  return $defaults + $this
    ->wrapperDefaults();
}