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

@@ 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}