public function SchemaPluginBase::processSubscriptions in GraphQL 8.3
Processes a list of subscription definitions.
Parameters
array $subscriptions: An array of subscription definitions.
Return value
array The processed subscription definitions.
Overrides SchemaBuilderInterface::processSubscriptions
1 call to SchemaPluginBase::processSubscriptions()
- SchemaPluginBase::getSubscriptions in src/
Plugin/ GraphQL/ Schemas/ SchemaPluginBase.php - Retrieves the subscriptions attached to the schema.
File
- src/
Plugin/ GraphQL/ Schemas/ SchemaPluginBase.php, line 434
Class
Namespace
Drupal\graphql\Plugin\GraphQL\SchemasCode
public function processSubscriptions(array $subscriptions) {
return array_map([
$this,
'buildSubscription',
], $subscriptions);
}