abstract protected function UpdateEntityBase::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 UpdateEntityBase::extractEntityInput()
- UpdateEntityBase::resolve in modules/
graphql_core/ src/ Plugin/ GraphQL/ Mutations/ Entity/ UpdateEntityBase.php
File
- modules/
graphql_core/ src/ Plugin/ GraphQL/ Mutations/ Entity/ UpdateEntityBase.php, line 146
Class
Namespace
Drupal\graphql_core\Plugin\GraphQL\Mutations\EntityCode
protected abstract function extractEntityInput($value, array $args, ResolveContext $context, ResolveInfo $info);