You are here

public static function EntityReferenceDisplayFormatterTrait::defaultSettings in Entity Reference Display 8

File

src/Plugin/Field/FieldFormatter/EntityReferenceDisplayFormatterTrait.php, line 17

Class

EntityReferenceDisplayFormatterTrait
Plugin trait for the 'entity_reference_display' formatters.

Namespace

Drupal\entity_reference_display\Plugin\Field\FieldFormatter

Code

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