You are here

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

File

src/Plugin/SubscriptionPluginInterface.php, line 26

Class

SubscriptionPluginInterface

Namespace

Drupal\graphql\Plugin

Code

public function getDefinition();