src/Plugin/GraphQL/Fields/FieldPluginBase.php 1 location
|
@@ 47-56 (lines=10) @@
|
| 44 |
|
/** |
| 45 |
|
* {@inheritdoc} |
| 46 |
|
*/ |
| 47 |
|
public function getDefinition() { |
| 48 |
|
$definition = $this->getPluginDefinition(); |
| 49 |
|
|
| 50 |
|
return [ |
| 51 |
|
'type' => $this->buildType($definition), |
| 52 |
|
'description' => $this->buildDescription($definition), |
| 53 |
|
'args' => $this->buildArguments($definition), |
| 54 |
|
'deprecationReason' => $this->buildDeprecationReason($definition), |
| 55 |
|
]; |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
/** |
| 59 |
|
* {@inheritdoc} |
src/Plugin/GraphQL/Mutations/MutationPluginBase.php 1 location
|
@@ 42-51 (lines=10) @@
|
| 39 |
|
/** |
| 40 |
|
* {@inheritdoc} |
| 41 |
|
*/ |
| 42 |
|
public function getDefinition() { |
| 43 |
|
$definition = $this->getPluginDefinition(); |
| 44 |
|
|
| 45 |
|
return [ |
| 46 |
|
'type' => $this->buildType($definition), |
| 47 |
|
'description' => $this->buildDescription($definition), |
| 48 |
|
'args' => $this->buildArguments($definition), |
| 49 |
|
'deprecationReason' => $this->buildDeprecationReason($definition), |
| 50 |
|
]; |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
} |
| 54 |
|
|