src/Plugin/GraphQL/Mutations/MutationPluginBase.php 1 location
|
@@ 34-41 (lines=8) @@
|
31 |
|
/** |
32 |
|
* {@inheritdoc} |
33 |
|
*/ |
34 |
|
public function buildConfig(SchemaBuilder $schemaManager) { |
35 |
|
$this->config = new FieldConfig([ |
36 |
|
'name' => $this->buildName(), |
37 |
|
'description' => $this->buildDescription(), |
38 |
|
'type' => $this->buildType($schemaManager), |
39 |
|
'args' => $this->buildArguments($schemaManager), |
40 |
|
]); |
41 |
|
} |
42 |
|
|
43 |
|
/** |
44 |
|
* {@inheritdoc} |
src/Plugin/GraphQL/Unions/UnionTypePluginBase.php 1 location
|
@@ 35-43 (lines=9) @@
|
32 |
|
/** |
33 |
|
* {@inheritdoc} |
34 |
|
*/ |
35 |
|
public function buildConfig(SchemaBuilder $schemaManager) { |
36 |
|
$name = $this->buildName(); |
37 |
|
|
38 |
|
$this->config = new UnionTypeConfig([ |
39 |
|
'name' => $name, |
40 |
|
'description' => $this->buildDescription(), |
41 |
|
'types' => $this->buildTypes($schemaManager, $name), |
42 |
|
]); |
43 |
|
} |
44 |
|
|
45 |
|
/** |
46 |
|
* {@inheritdoc} |