public function TwitterAuthController::__construct in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_twitter/src/Controller/TwitterAuthController.php \Drupal\social_auth_twitter\Controller\TwitterAuthController::__construct()
- 8.2 modules/custom/social_auth_twitter/src/Controller/TwitterAuthController.php \Drupal\social_auth_twitter\Controller\TwitterAuthController::__construct()
- 8.3 modules/custom/social_auth_twitter/src/Controller/TwitterAuthController.php \Drupal\social_auth_twitter\Controller\TwitterAuthController::__construct()
- 8.4 modules/custom/social_auth_twitter/src/Controller/TwitterAuthController.php \Drupal\social_auth_twitter\Controller\TwitterAuthController::__construct()
- 8.5 modules/custom/social_auth_twitter/src/Controller/TwitterAuthController.php \Drupal\social_auth_twitter\Controller\TwitterAuthController::__construct()
- 8.6 modules/custom/social_auth_twitter/src/Controller/TwitterAuthController.php \Drupal\social_auth_twitter\Controller\TwitterAuthController::__construct()
- 8.7 modules/custom/social_auth_twitter/src/Controller/TwitterAuthController.php \Drupal\social_auth_twitter\Controller\TwitterAuthController::__construct()
- 8.8 modules/custom/social_auth_twitter/src/Controller/TwitterAuthController.php \Drupal\social_auth_twitter\Controller\TwitterAuthController::__construct()
TwitterAuthController constructor.
File
- modules/
custom/ social_auth_twitter/ src/ Controller/ TwitterAuthController.php, line 56
Class
- TwitterAuthController
- Manages requests to Twitter API.
Namespace
Drupal\social_auth_twitter\ControllerCode
public function __construct(NetworkManager $network_manager, TwitterAuthManager $auth_manager, RequestStack $request_stack) {
$this->networkManager = $network_manager;
$this->authManager = $auth_manager;
$this->request = $request_stack
->getCurrentRequest();
}