Code Duplication    Length = 7-8 lines in 2 locations

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

@@ 118-125 (lines=8) @@
115
  /**
116
   * {@inheritdoc}
117
   */
118
  public function defaultConfiguration() {
119
    return array(
120
      'width' => '650',
121
      'height' => '500',
122
      'link_text' => t('Select entities'),
123
      'auto_open' => FALSE,
124
    ) + parent::defaultConfiguration();
125
  }
126
127
  /**
128
   * {@inheritdoc}

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

@@ 123-129 (lines=7) @@
120
  /**
121
   * {@inheritdoc}
122
   */
123
  public function defaultConfiguration() {
124
    return array(
125
      'width' => '650',
126
      'height' => '500',
127
      'link_text' => t('Select entities'),
128
    ) + parent::defaultConfiguration();
129
  }
130
131
  /**
132
   * {@inheritdoc}