public function CurrentSearchItem::getDefaultSettings in Facet API 7
Same name and namespace in other branches
- 6.3 contrib/current_search/plugins/current_search/item.inc \CurrentSearchItem::getDefaultSettings()
- 7.2 contrib/current_search/plugins/current_search/item.inc \CurrentSearchItem::getDefaultSettings()
Provides default values for the plugin settings.
All settings added via CurrentSearchItem::settingsForm() should have corresponding defaults in this method.
Return value
array The defaults keyed by setting name to value.
1 call to CurrentSearchItem::getDefaultSettings()
- CurrentSearchItem::__construct in contrib/
current_search/ plugins/ current_search/ item.inc - Constructs a CurrentSearchItem object.
3 methods override CurrentSearchItem::getDefaultSettings()
- CurrentSearchGroup::getDefaultSettings in contrib/
current_search/ plugins/ current_search/ item_group.inc - Implements CurrentSearchItem::getDefaultSettings().
- CurrentSearchItemActive::getDefaultSettings in contrib/
current_search/ plugins/ current_search/ item_active.inc - Implements CurrentSearchItem::getDefaultSettings().
- CurrentSearchItemText::getDefaultSettings in contrib/
current_search/ plugins/ current_search/ item_text.inc - Implements CurrentSearchItem::getDefaultSettings().
File
- contrib/
current_search/ plugins/ current_search/ item.inc, line 103 - Base current search item plugin class.
Class
- CurrentSearchItem
- Abstract class extended by current search item plugins.
Code
public function getDefaultSettings() {
return array();
}