Completed
Pull Request — 8.x-1.x (#138)
by
unknown
03:41
created
src/Plugin/EntityBrowser/SelectionDisplay/NewDisplay.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
       '#tree' => TRUE
46 46
     ];
47 47
     foreach ($selected_entities as $id => $entity) {
48
-      $form['selected']['items_'. $entity->id()] = [
48
+      $form['selected']['items_'.$entity->id()] = [
49 49
         '#theme_wrappers' => ['container'],
50 50
         '#attributes' => [
51 51
           'class' => ['selected-item-container'],
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
           '#type' => 'submit',
57 57
           '#value' => $this->t('Remove'),
58 58
           '#submit' => [[get_class($this), 'removeItemSubmit']],
59
-          '#name' => 'remove_' . $entity->id(),
59
+          '#name' => 'remove_'.$entity->id(),
60 60
           '#attributes' => ['data-row-id' => $id]
61 61
         ],
62 62
         'weight' => [
Please login to merge, or discard this patch.