You are here

public static function CountryItem::defaultFieldSettings in Country 8

Defines the field-level settings for this plugin.

Return value

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

Overrides FieldItemBase::defaultFieldSettings

File

src/Plugin/Field/FieldType/CountryItem.php, line 100

Class

CountryItem
Plugin implementation of the 'country' field type.

Namespace

Drupal\country\Plugin\Field\FieldType

Code

public static function defaultFieldSettings() {
  return [
    'selectable_countries' => [],
  ] + parent::defaultFieldSettings();
}