You are here

public function EventMetaInterface::remainingCapacity in RNG - Events and Registrations 8

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

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

Return value

integer|EventMetaInterface::CAPACITY_UNLIMITED Number of new registrations allowed (>= 0), or unlimited.

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

File

src/EventMetaInterface.php, line 138

Class

EventMetaInterface
Interface for EventMeta.

Namespace

Drupal\rng

Code

public function remainingCapacity();