public function ExplorerController::__construct in GraphQL 8
Same name and namespace in other branches
- 8.4 src/Controller/ExplorerController.php \Drupal\graphql\Controller\ExplorerController::__construct()
- 8.2 src/Controller/ExplorerController.php \Drupal\graphql\Controller\ExplorerController::__construct()
- 8.3 src/Controller/ExplorerController.php \Drupal\graphql\Controller\ExplorerController::__construct()
Constructs a ExplorerController object.
Parameters
\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The url generator service.
File
- src/
Controller/ ExplorerController.php, line 30
Class
- ExplorerController
- Controller for the GraphiQL query builder IDE.
Namespace
Drupal\graphql\ControllerCode
public function __construct(UrlGeneratorInterface $url_generator) {
$this->urlGenerator = $url_generator;
}