function _social_tour_init in Open Social 8.5
Same name and namespace in other branches
- 8.9 modules/custom/social_tour/social_tour.module \_social_tour_init()
- 8 modules/custom/social_tour/social_tour.module \_social_tour_init()
- 8.2 modules/custom/social_tour/social_tour.module \_social_tour_init()
- 8.3 modules/custom/social_tour/social_tour.module \_social_tour_init()
- 8.4 modules/custom/social_tour/social_tour.module \_social_tour_init()
- 8.6 modules/custom/social_tour/social_tour.module \_social_tour_init()
- 8.7 modules/custom/social_tour/social_tour.module \_social_tour_init()
- 8.8 modules/custom/social_tour/social_tour.module \_social_tour_init()
- 10.3.x modules/custom/social_tour/social_tour.module \_social_tour_init()
- 10.0.x modules/custom/social_tour/social_tour.module \_social_tour_init()
- 10.1.x modules/custom/social_tour/social_tour.module \_social_tour_init()
- 10.2.x modules/custom/social_tour/social_tour.module \_social_tour_init()
Static wrapper, since this is called approx. 8 times per page load.
3 calls to _social_tour_init()
- social_tour_page_attachments in modules/
custom/ social_tour/ social_tour.module - Implements hook_page_attachments().
- social_tour_page_bottom in modules/
custom/ social_tour/ social_tour.module - Implements hook_page_bottom().
- social_tour_preprocess_container in modules/
custom/ social_tour/ social_tour.module - Implements hook_preprocess_HOOK().
File
- modules/
custom/ social_tour/ social_tour.module, line 227 - The Social Tour module.
Code
function _social_tour_init() {
$data =& drupal_static(__FUNCTION__);
if (!isset($data['social_tour'])) {
$data['social_tour'] = _social_tour_check();
}
return $data['social_tour'];
}