Code Duplication    Length = 7-8 lines in 2 locations

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

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

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

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