@@ -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 | /** |