You are here

function _social_tour_init in Open Social 8.6

Same name and namespace in other branches
  1. 8.9 modules/custom/social_tour/social_tour.module \_social_tour_init()
  2. 8 modules/custom/social_tour/social_tour.module \_social_tour_init()
  3. 8.2 modules/custom/social_tour/social_tour.module \_social_tour_init()
  4. 8.3 modules/custom/social_tour/social_tour.module \_social_tour_init()
  5. 8.4 modules/custom/social_tour/social_tour.module \_social_tour_init()
  6. 8.5 modules/custom/social_tour/social_tour.module \_social_tour_init()
  7. 8.7 modules/custom/social_tour/social_tour.module \_social_tour_init()
  8. 8.8 modules/custom/social_tour/social_tour.module \_social_tour_init()
  9. 10.3.x modules/custom/social_tour/social_tour.module \_social_tour_init()
  10. 10.0.x modules/custom/social_tour/social_tour.module \_social_tour_init()
  11. 10.1.x modules/custom/social_tour/social_tour.module \_social_tour_init()
  12. 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 218
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'];
}