Skip to content
This repository was archived by the owner on Feb 23, 2020. It is now read-only.

Conversation

heddn
Copy link

@heddn heddn commented Aug 21, 2018

Fixes #95 and fixes #77.

I added a bunch of events so I can easily override and tweak how the default implementation works. For example, maybe I want to have a waiting list, but only allow at most 5 or 10 people on that waiting list. Then revert to a max cap again. By using events and stopPropogation, this is pretty easy to do. Same with the wording of the waitlist message. I need to be able to override that default wording and I can easily do that by adding my own event subscriber, setting a message and stopPropogation will disable the default from this module.

@akalata
Copy link

akalata commented Sep 14, 2018

You'll want to keep use Drupal\Core\Form\FormStateInterface; in rng_views.module.

@akalata
Copy link

akalata commented Sep 14, 2018

To determine when to start adding registrations to the waitlist, it appears that the "Maximum registrants" setting value is what is being checked. However, in the description for the field it specifies that this value is intended to be "maximum registrants per registration" and NOT the total maximum.

There is currently no value for maximum number of attendees (registrants); see #171.

@freelock
Copy link

Merged into freelock/rng, along with #171 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wait list Wait list module for RNG events
3 participants