You are here

public static function AddressItem::defaultFieldSettings in Address 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/AddressItem.php, line 156

Class

AddressItem
Plugin implementation of the 'address' field type.

Namespace

Drupal\address\Plugin\Field\FieldType

Code

public static function defaultFieldSettings() {
  return self::defaultCountrySettings() + [
    'langcode_override' => '',
    'field_overrides' => [],
    // Replaced by field_overrides.
    'fields' => [],
  ];
}