You are here

function social_event_update_10301 in Open Social 10.3.x

Allow CM+ translate "Event" node type.

File

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

Code

function social_event_update_10301() {
  foreach ([
    'sitemanager',
    'contentmanager',
  ] as $role_id) {
    user_role_grant_permissions($role_id, [
      'translate event node',
    ]);
  }
}