You are here

public function Registration::getRegistrantQty in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/Registration.php \Drupal\rng\Entity\Registration::getRegistrantQty()

@inheritDoc

Overrides RegistrationInterface::getRegistrantQty

5 calls to Registration::getRegistrantQty()
Registration::canAddRegistrants in src/Entity/Registration.php
@inheritDoc
Registration::createStubs in src/Entity/Registration.php
Registration::getRegistrants in src/Entity/Registration.php
Get registrants for the registration.
Registration::label in src/Entity/Registration.php
Gets the label of the entity.
Registration::preSave in src/Entity/Registration.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/Registration.php, line 479

Class

Registration
Defines the registration entity class.

Namespace

Drupal\rng\Entity

Code

public function getRegistrantQty() {
  return $this
    ->get('registrant_qty')->value;
}