You are here

public function RegistrantInterface::setIdentity in RNG - Events and Registrations 8

Set associated identity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The identity to set.

Return value

\Drupal\rng\RegistrantInterface Returns registrant for chaining.

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

File

src/RegistrantInterface.php, line 57

Class

RegistrantInterface
Provides an interface defining a Registrant entity.

Namespace

Drupal\rng

Code

public function setIdentity(EntityInterface $entity);