function _social_tour_check in Open Social 8.9
Same name and namespace in other branches
- 8 modules/custom/social_tour/social_tour.module \_social_tour_check()
- 8.2 modules/custom/social_tour/social_tour.module \_social_tour_check()
- 8.3 modules/custom/social_tour/social_tour.module \_social_tour_check()
- 8.4 modules/custom/social_tour/social_tour.module \_social_tour_check()
- 8.5 modules/custom/social_tour/social_tour.module \_social_tour_check()
- 8.6 modules/custom/social_tour/social_tour.module \_social_tour_check()
- 8.7 modules/custom/social_tour/social_tour.module \_social_tour_check()
- 8.8 modules/custom/social_tour/social_tour.module \_social_tour_check()
- 10.3.x modules/custom/social_tour/social_tour.module \_social_tour_check()
- 10.0.x modules/custom/social_tour/social_tour.module \_social_tour_check()
- 10.1.x modules/custom/social_tour/social_tour.module \_social_tour_check()
- 10.2.x modules/custom/social_tour/social_tour.module \_social_tour_check()
Check some stuff before doing anything with these tours.
1 call to _social_tour_check()
- _social_tour_init in modules/
custom/ social_tour/ social_tour.module - Static wrapper, since this is called approx. 8 times per page load.
File
- modules/
custom/ social_tour/ social_tour.module, line 231 - The Social Tour module.
Code
function _social_tour_check() {
/** @var \Drupal\social_tour\SocialTourController $onboarding */
$onboarding = \Drupal::service('social_tour.onboarding');
return $onboarding
->onboardingEnabled();
}