You are here

abstract protected function CreateEntityBase::extractEntityInput in GraphQL 8.3

Extract entity values from the resolver args.

Loops over all input values and assigns them to their original field names.

Parameters

$value: The parent value.

array $args: The entity values provided through the resolver args.

\Drupal\graphql\GraphQL\Execution\ResolveContext $context: The resolve context.

\GraphQL\Type\Definition\ResolveInfo $info: The resolve info object.

Return value

array The extracted entity values with their proper, internal field names.

1 call to CreateEntityBase::extractEntityInput()
CreateEntityBase::resolve in modules/graphql_core/src/Plugin/GraphQL/Mutations/Entity/CreateEntityBase.php

File

modules/graphql_core/src/Plugin/GraphQL/Mutations/Entity/CreateEntityBase.php, line 119

Class

CreateEntityBase

Namespace

Drupal\graphql_core\Plugin\GraphQL\Mutations\Entity

Code

protected abstract function extractEntityInput($value, array $args, ResolveContext $context, ResolveInfo $info);