You are here

public function UpdateEntityBase::__construct in GraphQL 8.3

UpdateEntityBase constructor.

Parameters

array $configuration: The plugin configuration array.

string $pluginId: The plugin id.

mixed $pluginDefinition: The plugin definition.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

Overrides PluginBase::__construct

File

modules/graphql_core/src/Plugin/GraphQL/Mutations/Entity/UpdateEntityBase.php, line 62

Class

UpdateEntityBase

Namespace

Drupal\graphql_core\Plugin\GraphQL\Mutations\Entity

Code

public function __construct(array $configuration, $pluginId, $pluginDefinition, EntityTypeManagerInterface $entityTypeManager, RendererInterface $renderer) {
  parent::__construct($configuration, $pluginId, $pluginDefinition);
  $this->entityTypeManager = $entityTypeManager;
  $this->renderer = $renderer;
}