You are here

function social_event_install in Open Social 8.6

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/social_event.install \social_event_install()
  2. 8 modules/social_features/social_event/social_event.install \social_event_install()
  3. 8.2 modules/social_features/social_event/social_event.install \social_event_install()
  4. 8.3 modules/social_features/social_event/social_event.install \social_event_install()
  5. 8.4 modules/social_features/social_event/social_event.install \social_event_install()
  6. 8.5 modules/social_features/social_event/social_event.install \social_event_install()
  7. 8.7 modules/social_features/social_event/social_event.install \social_event_install()
  8. 8.8 modules/social_features/social_event/social_event.install \social_event_install()
  9. 10.3.x modules/social_features/social_event/social_event.install \social_event_install()
  10. 10.0.x modules/social_features/social_event/social_event.install \social_event_install()
  11. 10.1.x modules/social_features/social_event/social_event.install \social_event_install()
  12. 10.2.x modules/social_features/social_event/social_event.install \social_event_install()

Implements hook_install().

Perform actions related to the installation of social_event.

File

modules/social_features/social_event/social_event.install, line 16
Install, update and uninstall functions for the social_event module.

Code

function social_event_install() {

  // Set some default permissions.
  _social_event_set_permissions();

  // Add menu links.
  _social_event_create_menu_links();

  // Enable event enrolling of some group types for not member.
  _social_event_enroll_group_types();
}