@@ -69,7 +69,7 @@ |
||
69 | 69 | */ |
70 | 70 | protected $uuid = NULL; |
71 | 71 | |
72 | - /** |
|
72 | + /** |
|
73 | 73 | * Current request. |
74 | 74 | * |
75 | 75 | * @var \Symfony\Component\HttpFoundation\Request |
@@ -25,7 +25,6 @@ |
||
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"), |
@@ -77,9 +77,9 @@ |
||
77 | 77 | * @param \Drupal\Core\Session\AccountInterface $current_user |
78 | 78 | * The current user. |
79 | 79 | */ |
80 | - public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, EntityManagerInterface $entity_manager, AccountInterface $current_user, KeyValueStoreExpirableInterface $key_value, Request $request) { |
|
81 | - parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher, $entity_manager, $key_value, $request); |
|
82 | - $this->currentUser = $current_user; |
|
80 | + public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, EntityManagerInterface $entity_manager, AccountInterface $current_user, KeyValueStoreExpirableInterface $key_value, Request $request) { |
|
81 | + parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher, $entity_manager, $key_value, $request); |
|
82 | + $this->currentUser = $current_user; |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |