You are here

protected function FieldPluginBase::resolveValues in GraphQL 8.3

Retrieve the list of field values.

Always returns a list of field values. Even for single value fields. Single/multi field handling is responsibility of the base class.

Parameters

mixed $value: The current object value.

array $args: Field arguments.

$context: The resolve context.

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

Return value

\Generator The value generator.

91 methods override FieldPluginBase::resolveValues()
Alias::resolveValues in modules/graphql_core/src/Plugin/GraphQL/Fields/Routing/InternalUrl/Alias.php
Retrieve the list of field values.
AvailableLanguages::resolveValues in modules/graphql_core/src/Plugin/GraphQL/Fields/Languages/AvailableLanguages.php
Retrieve the list of field values.
BackupCar::resolveValues in tests/modules/graphql_plugin_test/src/Plugin/GraphQL/Fields/BackupCar.php
Retrieve the list of field values.
BlocksByRegion::resolveValues in modules/graphql_core/src/Plugin/GraphQL/Fields/Blocks/BlocksByRegion.php
Retrieve the list of field values.
Breadcrumbs::resolveValues in modules/graphql_core/src/Plugin/GraphQL/Fields/Breadcrumbs/Breadcrumbs.php
Retrieve the list of field values.

... See full list

File

src/Plugin/GraphQL/Fields/FieldPluginBase.php, line 291

Class

FieldPluginBase

Namespace

Drupal\graphql\Plugin\GraphQL\Fields

Code

protected function resolveValues($value, array $args, ResolveContext $context, ResolveInfo $info) {

  // Allow overriding this class without having to declare this method.
  (yield NULL);
}