Completed
Pull Request — 8.x-1.x (#148)
by
unknown
02:42
created
src/Plugin/EntityBrowser/Widget/View.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,9 +72,9 @@
 block discarded – undo
72 72
    * @param \Drupal\Core\Session\AccountInterface $current_user
73 73
    *   The current user.
74 74
    */
75
-   public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, EntityManagerInterface $entity_manager, AccountInterface $current_user) {
76
-     parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher, $entity_manager);
77
-     $this->currentUser = $current_user;
75
+    public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, EntityManagerInterface $entity_manager, AccountInterface $current_user) {
76
+      parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher, $entity_manager);
77
+      $this->currentUser = $current_user;
78 78
   }
79 79
 
80 80
   /**
Please login to merge, or discard this patch.
src/Plugin/Field/FieldWidget/EntityReference.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 
26 26
 /**
27 27
  * Plugin implementation of the 'entity_reference' widget for entity browser.
28
-
29 28
  * @FieldWidget(
30 29
  *   id = "entity_browser_entity_reference",
31 30
  *   label = @Translation("Entity browser"),
Please login to merge, or discard this patch.
src/Plugin/EntityBrowser/Display/IFrame.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -221,8 +221,8 @@
 block discarded – undo
221 221
   }
222 222
 
223 223
   /**
224
-    * {@inheritdoc}
225
-    */
224
+   * {@inheritdoc}
225
+   */
226 226
   public function setUuid($uuid) {
227 227
     $this->uuid = $uuid;
228 228
   }
Please login to merge, or discard this patch.
src/Plugin/EntityBrowser/Display/Modal.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
    */
71 71
   protected $uuid = NULL;
72 72
 
73
- /**
73
+  /**
74 74
    * Current request.
75 75
    *
76 76
    * @var \Symfony\Component\HttpFoundation\Request
@@ -343,8 +343,8 @@  discard block
 block discarded – undo
343 343
   }
344 344
 
345 345
   /**
346
-    * {@inheritdoc}
347
-    */
346
+   * {@inheritdoc}
347
+   */
348 348
   public function setUuid($uuid) {
349 349
     $this->uuid = $uuid;
350 350
   }
Please login to merge, or discard this patch.