You are here

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

Same name and namespace in other branches
  1. 3.x src/Entity/RegistrantInterface.php \Drupal\rng\Entity\RegistrantInterface::setRegistration()

Set associated registration.

Parameters

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

Return value

\Drupal\rng\Entity\RegistrantInterface Returns registrant for chaining.

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

File

src/Entity/RegistrantInterface.php, line 30

Class

RegistrantInterface
Provides an interface defining a Registrant entity.

Namespace

Drupal\rng\Entity

Code

public function setRegistration(RegistrationInterface $registration);