You are here

public function RegistrationInterface::setOwner 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::setOwner()

Set the owner of the registration to object.

Parameters

\Drupal\user\UserInterface $account: The user account object.

Return value

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

1 method overrides RegistrationInterface::setOwner()
Registration::setOwner in src/Entity/Registration.php
Set the owner of the registration to object.

File

src/Entity/RegistrationInterface.php, line 96

Class

RegistrationInterface
Provides an interface defining a Registration entity.

Namespace

Drupal\rng\Entity

Code

public function setOwner(UserInterface $account);