You are here

public static function EntityReferenceDisplayItem::defaultFieldSettings in Entity Reference Display 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/EntityReferenceDisplayItem.php, line 55

Class

EntityReferenceDisplayItem
Plugin implementation of the 'entity_reference_display' field type.

Namespace

Drupal\entity_reference_display\Plugin\Field\FieldType

Code

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