You are here

public static function VotingApiField::defaultStorageSettings in Votingapi Widgets 8

Defines the storage-level settings for this plugin.

Return value

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

Overrides FieldItemBase::defaultStorageSettings

File

src/Plugin/Field/FieldType/VotingApiField.php, line 29

Class

VotingApiField
Plugin implementation of the 'voting_api_field' field type.

Namespace

Drupal\votingapi_widgets\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return [
    'vote_plugin' => '',
    'vote_type' => '',
    'status' => '',
  ] + parent::defaultStorageSettings();
}