public function Registrant::clearIdentity in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/Registrant.php \Drupal\rng\Entity\Registrant::clearIdentity()
- 3.x src/Entity/Registrant.php \Drupal\rng\Entity\Registrant::clearIdentity()
Removes identity associated with this registrant.
Return value
\Drupal\rng\RegistrantInterface Returns registrant for chaining.
Overrides RegistrantInterface::clearIdentity
File
- src/
Entity/ Registrant.php, line 93
Class
- Registrant
- Defines the registrant entity class.
Namespace
Drupal\rng\EntityCode
public function clearIdentity() {
$this->identity
->setValue(NULL);
return $this;
}