Completed
Push — 8.x-1.x ( 77e186...f7c112 )
by Janez
03:35
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.