You are here

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

Checks if the identity is the registrant.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The identity to check is associated with this registrant.

Return value

boolean Whether the identity is the registrant.

1 method overrides RegistrantInterface::hasIdentity()
Registrant::hasIdentity in src/Entity/Registrant.php
Checks if the identity is the registrant.

File

src/RegistrantInterface.php, line 76

Class

RegistrantInterface
Provides an interface defining a Registrant entity.

Namespace

Drupal\rng

Code

public function hasIdentity(EntityInterface $entity);