public function RegistrantInterface::setEvent in RNG - Events and Registrations 3.x
Set the event for this registrant.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $event:
Return value
\Drupal\rng\Entity\RegistrantInterface Returns registratant for chaining.
1 method overrides RegistrantInterface::setEvent()
- Registrant::setEvent in src/
Entity/ Registrant.php - @inheritDoc
File
- src/
Entity/ RegistrantInterface.php, line 48
Class
- RegistrantInterface
- Provides an interface defining a Registrant entity.
Namespace
Drupal\rng\EntityCode
public function setEvent(ContentEntityInterface $event);