public function RegistrationInterface::hasIdentity in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 3.x src/Entity/RegistrationInterface.php \Drupal\rng\Entity\RegistrationInterface::hasIdentity()
Searches registrants on this registration for an identity.
Parameters
\Drupal\Core\Entity\EntityInterface $identity: The identity to search.
Return value
bool 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/
Entity/ RegistrationInterface.php, line 184
Class
- RegistrationInterface
- Provides an interface defining a Registration entity.
Namespace
Drupal\rng\EntityCode
public function hasIdentity(EntityInterface $identity);