Code Duplication    Length = 7-8 lines in 2 locations

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

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