You are here

public function SchemaPluginBase::getSubscriptions in GraphQL 8.3

Retrieves the subscriptions attached to the schema.

Return value

array The subscriptions for this schema.

Overrides SchemaBuilderInterface::getSubscriptions

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

File

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

Class

SchemaPluginBase

Namespace

Drupal\graphql\Plugin\GraphQL\Schemas

Code

public function getSubscriptions() {
  return $this
    ->processSubscriptions($this->pluginDefinition['subscription_map']);
}