You are here

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

Same name and namespace in other branches
  1. 3.x src/Entity/RegistrantInterface.php \Drupal\rng\Entity\RegistrantInterface::hasIdentity()

Checks if the identity is the registrant.

Parameters

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

Return value

bool 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/Entity/RegistrantInterface.php, line 77

Class

RegistrantInterface
Provides an interface defining a Registrant entity.

Namespace

Drupal\rng\Entity

Code

public function hasIdentity(EntityInterface $entity);