You are here

public function RegistrationInterface::setOwnerId in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/RegistrationInterface.php \Drupal\rng\Entity\RegistrationInterface::setOwnerId()

Set the owner of this registration by UID.

Parameters

int $uid: The User ID.

Return value

\Drupal\rng\Entity\RegistrationInterface Returns registration for chaining.

1 method overrides RegistrationInterface::setOwnerId()
Registration::setOwnerId in src/Entity/Registration.php
Set the owner of this registration by UID.

File

src/Entity/RegistrationInterface.php, line 115

Class

RegistrationInterface
Provides an interface defining a Registration entity.

Namespace

Drupal\rng\Entity

Code

public function setOwnerId($uid);