src/Plugin/GraphQL/Fields/FieldPluginBase.php 1 location
|
@@ 140-146 (lines=7) @@
|
| 137 |
|
/** |
| 138 |
|
* {@inheritdoc} |
| 139 |
|
*/ |
| 140 |
|
public function buildConfig(PluggableSchemaManagerInterface $schemaManager) { |
| 141 |
|
$this->config = new FieldConfig([ |
| 142 |
|
'name' => $this->buildName(), |
| 143 |
|
'type' => $this->buildType($schemaManager), |
| 144 |
|
'args' => $this->buildArguments($schemaManager), |
| 145 |
|
]); |
| 146 |
|
} |
| 147 |
|
|
| 148 |
|
/** |
| 149 |
|
* {@inheritdoc} |
src/Plugin/GraphQL/Mutations/MutationPluginBase.php 1 location
|
@@ 34-41 (lines=8) @@
|
| 31 |
|
/** |
| 32 |
|
* {@inheritdoc} |
| 33 |
|
*/ |
| 34 |
|
public function buildConfig(PluggableSchemaManagerInterface $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(PluggableSchemaManagerInterface $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} |