You are here

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

Get the owner uid of this registration.

Return value

int The uid for the owner.

Overrides RegistrationInterface::getOwnerId

File

src/Entity/Registration.php, line 173

Class

Registration
Defines the registration entity class.

Namespace

Drupal\rng\Entity

Code

public function getOwnerId() {
  return $this
    ->getEntityKey('owner');
}