Code Duplication    Length = 8-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' => $this->t('Select entities'),
110
      'auto_open' => FALSE,
111
    ] + parent::defaultConfiguration();
112
  }
113
114
  /**
115
   * {@inheritdoc}

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

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