You are here

public function FieldPluginInterface::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 FieldPluginInterface::getDefinition()
FieldPluginBase::getDefinition in src/Plugin/GraphQL/Fields/FieldPluginBase.php
Returns the plugin's type or field definition for the schema.

File

src/Plugin/FieldPluginInterface.php, line 26

Class

FieldPluginInterface

Namespace

Drupal\graphql\Plugin

Code

public function getDefinition();