public function RegistrantInterface::setIdentity in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 3.x src/Entity/RegistrantInterface.php \Drupal\rng\Entity\RegistrantInterface::setIdentity()
Set associated identity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The identity to set.
Return value
\Drupal\rng\Entity\RegistrantInterface Returns registrant for chaining.
1 method overrides RegistrantInterface::setIdentity()
- Registrant::setIdentity in src/
Entity/ Registrant.php - Set associated identity.
File
- src/
Entity/ RegistrantInterface.php, line 58
Class
- RegistrantInterface
- Provides an interface defining a Registrant entity.
Namespace
Drupal\rng\EntityCode
public function setIdentity(EntityInterface $entity);