You are here

protected property MockGraphQLPluginTrait::$graphQLPluginClassMap in GraphQL 8.3

Maps type system manager id's to required plugin interfaces.

Type: string[]

File

tests/src/Traits/MockGraphQLPluginTrait.php, line 70

Class

MockGraphQLPluginTrait
Trait for mocking GraphQL type system plugins.

Namespace

Drupal\Tests\graphql\Traits

Code

protected $graphQLPluginClassMap = [
  'plugin.manager.graphql.schema' => SchemaPluginBase::class,
  'plugin.manager.graphql.field' => FieldPluginBase::class,
  'plugin.manager.graphql.mutation' => MutationPluginBase::class,
  'plugin.manager.graphql.subscription' => SubscriptionPluginBase::class,
  'plugin.manager.graphql.union' => UnionTypePluginBase::class,
  'plugin.manager.graphql.interface' => InterfacePluginBase::class,
  'plugin.manager.graphql.type' => TypePluginBase::class,
  'plugin.manager.graphql.input' => InputTypePluginBase::class,
  'plugin.manager.graphql.scalar' => ScalarPluginBase::class,
  'plugin.manager.graphql.enum' => EnumPluginBase::class,
];