You are here

public function MutationPluginInterface::getDefinition in GraphQL 8.3

Returns the plugin's type or field definition for the schema.

Return value

array The type or field definition of the plugin.

1 method overrides MutationPluginInterface::getDefinition()
MutationPluginBase::getDefinition in src/Plugin/GraphQL/Mutations/MutationPluginBase.php
Returns the plugin's type or field definition for the schema.

File

src/Plugin/MutationPluginInterface.php, line 26

Class

MutationPluginInterface

Namespace

Drupal\graphql\Plugin

Code

public function getDefinition();