You are here

public function RegistrantInterface::setRegistration in RNG - Events and Registrations 8

Set associated registration.

Parameters

\Drupal\rng\RegistrationInterface $registration: The new associated registration.

Return value

\Drupal\rng\RegistrantInterface Returns registrant for chaining.

1 method overrides RegistrantInterface::setRegistration()
Registrant::setRegistration in src/Entity/Registrant.php
Set associated registration.

File

src/RegistrantInterface.php, line 29

Class

RegistrantInterface
Provides an interface defining a Registrant entity.

Namespace

Drupal\rng

Code

public function setRegistration(RegistrationInterface $registration);