function social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish in Open Social 8.7
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/modules/social_event_managers/social_event_managers.module \social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish()
- 8.5 modules/social_features/social_event/modules/social_event_managers/social_event_managers.module \social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish()
- 8.6 modules/social_features/social_event/modules/social_event_managers/social_event_managers.module \social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish()
- 8.8 modules/social_features/social_event/modules/social_event_managers/social_event_managers.module \social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish()
- 10.3.x modules/social_features/social_event/modules/social_event_managers/social_event_managers.module \social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish()
- 10.0.x modules/social_features/social_event/modules/social_event_managers/social_event_managers.module \social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish()
- 10.1.x modules/social_features/social_event/modules/social_event_managers/social_event_managers.module \social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish()
- 10.2.x modules/social_features/social_event/modules/social_event_managers/social_event_managers.module \social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish()
Implements hook_social_event_action_ACTION_ID_finish().
File
- modules/
social_features/ social_event/ modules/ social_event_managers/ social_event_managers.module, line 542 - Contains social_event_managers.module.
Code
function social_event_managers_social_event_managers_action_social_event_managers_delete_event_enrollment_action_finish($success) {
if ($success) {
return [
'singular' => '1 selected enrollee has been removed from the event successfully',
'plural' => '@count selected enrollees have been removed from the event successfully',
];
}
return [
'singular' => '1 selected enrollee has not been removed from the event successfully',
'plural' => '@count selected enrollees have not been removed from the event successfully',
];
}