You are here

public function SchemaPluginBase::getMutations in GraphQL 8.3

Retrieves the mutations attached to the schema.

Return value

array The mutations for this schema.

Overrides SchemaBuilderInterface::getMutations

1 call to SchemaPluginBase::getMutations()
SchemaPluginBase::getSchema in src/Plugin/GraphQL/Schemas/SchemaPluginBase.php
Retrieves the schema.

File

src/Plugin/GraphQL/Schemas/SchemaPluginBase.php, line 355

Class

SchemaPluginBase

Namespace

Drupal\graphql\Plugin\GraphQL\Schemas

Code

public function getMutations() {
  return $this
    ->processMutations($this->pluginDefinition['mutation_map']);
}