public function CurrentSearchItemText::getDefaultSettings in Facet API 7
Same name and namespace in other branches
- 6.3 contrib/current_search/plugins/current_search/item_text.inc \CurrentSearchItemText::getDefaultSettings()
- 7.2 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 114 - The text current search item plugin class.
Class
- CurrentSearchItemText
- Current search item plugin that displays text configured by the user.
Code
public function getDefaultSettings() {
$defaults = array(
'plural' => 0,
'plural_condition' => 'facetapi_results:result-count',
'text' => '',
'text_plural' => '',
);
return $defaults + $this
->wrapperDefaults();
}