You are here

public function CurrentSearchItem::wrapperDefaults in Facet API 7

Same name and namespace in other branches
  1. 6.3 contrib/current_search/plugins/current_search/item.inc \CurrentSearchItem::wrapperDefaults()
  2. 7.2 contrib/current_search/plugins/current_search/item.inc \CurrentSearchItem::wrapperDefaults()

Returns defaults for the wrapper HTML elements.

This method is usually called in CurrentSearchItem::getDefaultSettings() overrides.

Return value

array An array of default values.

See also

CurrentSearchItem::wrapperForm()

CurrentSearchItem::getDefaultSettings()

1 call to CurrentSearchItem::wrapperDefaults()
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 211
Base current search item plugin class.

Class

CurrentSearchItem
Abstract class extended by current search item plugins.

Code

public function wrapperDefaults() {
  return array(
    'wrapper' => FALSE,
    'element' => '0',
    'css' => FALSE,
    'classes' => '',
  );
}