You are here

function social_event_update_8002 in Open Social 10.3.x

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

Set permissions to administer social_event settings.

File

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

Code

function social_event_update_8002() {

  // Give SM the administer social_event settings permission.
  user_role_grant_permissions('sitemanager', [
    'administer social_event settings',
  ]);
}