You are here

public function ApiTokenController::__construct in API Tokens 8

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

Constructs a new ApiTokenController.

Parameters

\Drupal\api_tokens\ApiTokenManagerInterface $api_token_manager: The API token manager.

File

src/Controller/ApiTokenController.php, line 27

Class

ApiTokenController
Controller routines for API tokens routes.

Namespace

Drupal\api_tokens\Controller

Code

public function __construct(ApiTokenManagerInterface $api_token_manager) {
  $this->apiTokenManager = $api_token_manager;
}