public function ApiTokenController::__construct in API Tokens 8
Same name and namespace in other branches
- 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\ControllerCode
public function __construct(ApiTokenManagerInterface $api_token_manager) {
$this->apiTokenManager = $api_token_manager;
}