@@ 56-61 (lines=6) @@ | ||
53 | * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager |
|
54 | * The entity manager type service. |
|
55 | */ |
|
56 | public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, EntityTypeManagerInterface $entity_type_manager) { |
|
57 | parent::__construct($configuration, $plugin_id, $plugin_definition); |
|
58 | $this->eventDispatcher = $event_dispatcher; |
|
59 | $this->entityTypeManager = $entity_type_manager; |
|
60 | $this->setConfiguration($configuration); |
|
61 | } |
|
62 | ||
63 | /** |
|
64 | * {@inheritdoc} |
@@ 88-94 (lines=7) @@ | ||
85 | * @parem \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface $selection_storage |
|
86 | * The selection storage. |
|
87 | */ |
|
88 | public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, EntityTypeManagerInterface $entity_type_manager, WidgetValidationManager $validation_manager) { |
|
89 | parent::__construct($configuration, $plugin_id, $plugin_definition); |
|
90 | $this->eventDispatcher = $event_dispatcher; |
|
91 | $this->entityTypeManager = $entity_type_manager; |
|
92 | $this->validationManager = $validation_manager; |
|
93 | $this->setConfiguration($configuration); |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * {@inheritdoc} |