You are here

public static function CmisFieldWidget::defaultSettings in CMIS API 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldWidget/CmisFieldWidget.php \Drupal\cmis\Plugin\Field\FieldWidget\CmisFieldWidget::defaultSettings()
  2. 3.0.x src/Plugin/Field/FieldWidget/CmisFieldWidget.php \Drupal\cmis\Plugin\Field\FieldWidget\CmisFieldWidget::defaultSettings()

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/CmisFieldWidget.php, line 28

Class

CmisFieldWidget
Plugin implementation of the 'cmis_field_widget' widget.

Namespace

Drupal\cmis\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return array(
    'size' => 60,
    'placeholder' => '',
    'cmis_configuration' => '',
  ) + parent::defaultSettings();
}