You are here

public function OpenApiListController::__construct in OpenAPI 8

Same name and namespace in other branches
  1. 8.2 src/Controller/OpenApiListController.php \Drupal\openapi\Controller\OpenApiListController::__construct()

Creates a new OpenApiListController.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $openapi_generator_manager: The current openapi generator plugin manager instance.

\Drupal\Component\Plugin\PluginManagerInterface $openapi_ui_manager: ui library plugin manager instance. NULL if the module is not enabled.

File

src/Controller/OpenApiListController.php, line 31

Class

OpenApiListController
Lists OpenAPI links.

Namespace

Drupal\openapi\Controller

Code

public function __construct(PluginManagerInterface $openapi_generator_manager, PluginManagerInterface $openapi_ui_manager) {
  $this->openapiGeneratorManager = $openapi_generator_manager;
  $this->openapiUiManager = $openapi_ui_manager;
}