@@ 89-101 (lines=13) @@ | ||
86 | * @param \Drupal\graphql\GraphQL\Buffers\EntityBuffer $entityBuffer |
|
87 | * The entity buffer service. |
|
88 | */ |
|
89 | public function __construct( |
|
90 | array $configuration, |
|
91 | $pluginId, |
|
92 | $pluginDefinition, |
|
93 | EntityTypeManagerInterface $entityTypeManager, |
|
94 | EntityRepositoryInterface $entityRepository, |
|
95 | EntityBuffer $entityBuffer |
|
96 | ) { |
|
97 | parent::__construct($configuration, $pluginId, $pluginDefinition); |
|
98 | $this->entityTypeManager = $entityTypeManager; |
|
99 | $this->entityRepository = $entityRepository; |
|
100 | $this->entityBuffer = $entityBuffer; |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * {@inheritdoc} |
@@ 82-94 (lines=13) @@ | ||
79 | * @param \Drupal\graphql\GraphQL\Buffers\EntityBuffer $entityBuffer |
|
80 | * The entity buffer service. |
|
81 | */ |
|
82 | public function __construct( |
|
83 | array $configuration, |
|
84 | $pluginId, |
|
85 | $pluginDefinition, |
|
86 | EntityTypeManagerInterface $entityTypeManager, |
|
87 | EntityRepositoryInterface $entityRepository, |
|
88 | EntityBuffer $entityBuffer |
|
89 | ) { |
|
90 | parent::__construct($configuration, $pluginId, $pluginDefinition); |
|
91 | $this->entityBuffer = $entityBuffer; |
|
92 | $this->entityTypeManager = $entityTypeManager; |
|
93 | $this->entityRepository = $entityRepository; |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * {@inheritdoc} |