Completed
Pull Request — 8.x-1.x (#138)
by
unknown
02:44
created
src/Plugin/EntityBrowser/SelectionDisplay/MultiStepDisplay.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
       '#tree' => TRUE
35 35
     ];
36 36
     foreach ($selected_entities as $id => $entity) {
37
-      $form['selected']['items_'. $entity->id()] = [
37
+      $form['selected']['items_'.$entity->id()] = [
38 38
         '#theme_wrappers' => ['container'],
39 39
         '#attributes' => [
40 40
           'class' => ['selected-item-container'],
@@ -45,10 +45,10 @@  discard block
 block discarded – undo
45 45
           '#type' => 'submit',
46 46
           '#value' => $this->t('Remove'),
47 47
           '#submit' => [[get_class($this), 'removeItemSubmit']],
48
-          '#name' => 'remove_' . $entity->id(),
48
+          '#name' => 'remove_'.$entity->id(),
49 49
           '#attributes' => [
50 50
             'data-row-id' => $id,
51
-            'data-remove-entity' => 'items_' . $entity->id(),
51
+            'data-remove-entity' => 'items_'.$entity->id(),
52 52
           ]
53 53
         ],
54 54
         'weight' => [
Please login to merge, or discard this patch.