public function SchemaProvider::getMutationSchema in GraphQL 8.2
Same name and namespace in other branches
- 8 src/SchemaProvider.php \Drupal\graphql\SchemaProvider::getMutationSchema()
Return value
array
Overrides SchemaProviderInterface::getMutationSchema
File
- src/
SchemaProvider.php, line 35
Class
- SchemaProvider
- Generates a GraphQL Schema.
Namespace
Drupal\graphqlCode
public function getMutationSchema() {
return array_reduce($this
->getSortedProviders(), function ($carry, SchemaProviderInterface $provider) {
return array_merge($carry, $provider
->getMutationSchema() ?: []);
}, []);
}