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