Code Duplication    Length = 7-8 lines in 2 locations

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

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

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

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