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\rngCode
public function setRegistration(RegistrationInterface $registration);