You are here

public function ExplorerRoutes::__construct in GraphQL 8.3

ExplorerRoutes constructor.

Parameters

\Drupal\graphql\Plugin\SchemaPluginManager $schemaManager: The graphql schema plugin manager.

File

src/Routing/ExplorerRoutes.php, line 28

Class

ExplorerRoutes
Registers graphql explorer routes for all schemas.

Namespace

Drupal\graphql\Routing

Code

public function __construct(SchemaPluginManager $schemaManager) {
  $this->schemaManager = $schemaManager;
}