@@ -72,9 +72,9 @@ |
||
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 | /** |
@@ -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"), |
@@ -221,8 +221,8 @@ |
||
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 | } |
@@ -70,7 +70,7 @@ discard block |
||
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 |
||
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 | } |