Code Duplication    Length = 7-8 lines in 2 locations

src/Plugin/EntityBrowser/Display/IFrame.php 1 location

@@ 105-112 (lines=8) @@
102
  /**
103
   * {@inheritdoc}
104
   */
105
  public function defaultConfiguration() {
106
    return [
107
      'width' => '650',
108
      'height' => '500',
109
      'link_text' => t('Select entities'),
110
      'auto_open' => FALSE,
111
    ] + parent::defaultConfiguration();
112
  }
113
114
  /**
115
   * {@inheritdoc}

src/Plugin/EntityBrowser/Display/Modal.php 1 location

@@ 110-116 (lines=7) @@
107
  /**
108
   * {@inheritdoc}
109
   */
110
  public function defaultConfiguration() {
111
    return [
112
      'width' => '650',
113
      'height' => '500',
114
      'link_text' => t('Select entities'),
115
    ] + parent::defaultConfiguration();
116
  }
117
118
  /**
119
   * {@inheritdoc}