Completed
Push — 8.x-1.x ( 28fdc3...200447 )
by Janez
02:37
created
src/Plugin/EntityBrowser/Widget/View.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,13 +238,13 @@
 block discarded – undo
238 238
     foreach ($displays as $display) {
239 239
       list($view_id, $display_id) = $display;
240 240
       $view = $this->entityTypeManager->getStorage('view')->load($view_id);
241
-      $options[$view_id . '.' . $display_id] = $this->t('@view : @display', array('@view' => $view->label(), '@display' => $view->get('display')[$display_id]['display_title']));
241
+      $options[$view_id.'.'.$display_id] = $this->t('@view : @display', array('@view' => $view->label(), '@display' => $view->get('display')[$display_id]['display_title']));
242 242
     }
243 243
 
244 244
     $form['view'] = [
245 245
       '#type' => 'select',
246 246
       '#title' => $this->t('View : View display'),
247
-      '#default_value' => $this->configuration['view'] . '.' . $this->configuration['view_display'],
247
+      '#default_value' => $this->configuration['view'].'.'.$this->configuration['view_display'],
248 248
       '#options' => $options,
249 249
       '#empty_option' => $this->t('- Select a view -'),
250 250
       '#required' => TRUE,
Please login to merge, or discard this patch.