You are here

public function ComposableSchema::setConfiguration in GraphQL 8.4

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurableInterface::setConfiguration

File

src/Plugin/GraphQL/Schema/ComposableSchema.php, line 61

Class

ComposableSchema
Plugin annotation @Schema( id = "composable", name = "Composable schema" )

Namespace

Drupal\graphql\Plugin\GraphQL\Schema

Code

public function setConfiguration(array $configuration) : void {
  $this->configuration = NestedArray::mergeDeep($this
    ->defaultConfiguration(), $configuration);
}