You are here

public function Registration::isConfirmed 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::isConfirmed()

Check to see if this registration is confirmed.

Return value

bool Whether or not this registration is confirmed.

Overrides RegistrationInterface::isConfirmed

File

src/Entity/Registration.php, line 143

Class

Registration
Defines the registration entity class.

Namespace

Drupal\rng\Entity

Code

public function isConfirmed() {
  return (bool) $this
    ->getEntityKey('published');
}