public function EventMeta::countRegistrants in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/EventMeta.php \Drupal\rng\EventMeta::countRegistrants()
1 call to EventMeta::countRegistrants()
- EventMeta::remainingRegistrantCapacity in src/
EventMeta.php - Calculates how many more registrants can be added to this event.
File
- src/
EventMeta.php, line 329
Class
- EventMeta
- Meta event wrapper for RNG.
Namespace
Drupal\rngCode
public function countRegistrants() {
return $this
->buildEventRegistrantQuery()
->countQuery()
->execute()
->fetchField();
}