You are here

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

Searches registrants on this registration for an identity.

Parameters

\Drupal\Core\Entity\EntityInterface $identity: The identity to search.

Return value

boolean Whether the identity is a registrant.

1 method overrides RegistrationInterface::hasIdentity()
Registration::hasIdentity in src/Entity/Registration.php
Searches registrants on this registration for an identity.

File

src/RegistrationInterface.php, line 75

Class

RegistrationInterface
Provides an interface defining a Registration entity.

Namespace

Drupal\rng

Code

public function hasIdentity(EntityInterface $identity);