You are here

public function Registration::getRegistrantQty in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 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;
}