Code Duplication    Length = 7-8 lines in 2 locations

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

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

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}