public function SocialTourController::__construct in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 8.2 modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 8.3 modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 8.4 modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 8.5 modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 8.6 modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 8.7 modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 8.8 modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 10.3.x modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 10.0.x modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 10.1.x modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
- 10.2.x modules/custom/social_tour/src/SocialTourController.php \Drupal\social_tour\SocialTourController::__construct()
SocialTourController constructor.
File
- modules/
custom/ social_tour/ src/ SocialTourController.php, line 47
Class
- SocialTourController
- Class SocialTourController.
Namespace
Drupal\social_tourCode
public function __construct(UserData $user_data, ConfigFactory $config_factory, AccountProxy $current_user) {
// We needs it.
$this->userData = $user_data;
$this->configFactory = $config_factory
->get('social_tour.settings');
$this->currentUser = $current_user;
}