You are here

public static function TablefieldWidget::defaultSettings in TableField 8.2

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/TablefieldWidget.php, line 76

Class

TablefieldWidget
Plugin implementation of the 'tablefield' widget.

Namespace

Drupal\tablefield\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'input_type' => 'textfield',
  ] + parent::defaultSettings();
}