You are here

public static function JqueryUIMultiSelectWidget::defaultSettings in jQuery UI MultiSelect Widget 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldWidget/JqueryUIMultiSelectWidget.php, line 35
Contains \Drupal\jquery_ui_multiselect_widget\Plugin\Field\FieldWidget\JqueryUIMultiSelectWidget.

Class

JqueryUIMultiSelectWidget
Plugin implementation of the 'boolean_checkbox' widget.

Namespace

Drupal\jquery_ui_multiselect_widget\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return array(
    'jquery_ui_multiselect_widget_show_header' => FALSE,
    'jquery_ui_multiselect_widget_show_filter' => FALSE,
    'jquery_ui_multiselect_widget_filter_placeholder' => '',
  ) + parent::defaultSettings();
}