function event_group_permissions_submit in Event 8
Remove extremely-risky permissions from any role.
1 string reference to 'event_group_permissions_submit'
- event_group_form_user_admin_permissions_alter in modules/
event_group/ event_group.module - Implements hook_form_FORM_ID_alter().
File
- modules/
event_group/ event_group.module, line 178 - Enables Group functionality for the Event module.
Code
function event_group_permissions_submit($form, FormStateInterface $form_state) {
_event_group_remove_risky_permissions();
}