You are here

public function EventMetaInterface::remainingRegistrantCapacity in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::remainingRegistrantCapacity()

Calculates how many more registrants can be added to this event.

This value will not be negative if there are excessive registrations.

Return value

int|EventMetaInterfaceCAPACITY_UNLIMITED Number of new registrants allowed (>= 0), or unlimited.

1 method overrides EventMetaInterface::remainingRegistrantCapacity()
EventMeta::remainingRegistrantCapacity in src/EventMeta.php
Calculates how many more registrants can be added to this event.

File

src/EventMetaInterface.php, line 139

Class

EventMetaInterface
Interface for EventMeta.

Namespace

Drupal\rng

Code

public function remainingRegistrantCapacity();