You are here

public function PhoneNumberVerificationInterface::getEntity in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Entity/PhoneNumberVerificationInterface.php \Drupal\sms\Entity\PhoneNumberVerificationInterface::getEntity()
  2. 2.x src/Entity/PhoneNumberVerificationInterface.php \Drupal\sms\Entity\PhoneNumberVerificationInterface::getEntity()

Gets the entity for the phone number verification.

Return value

\Drupal\Core\Entity\EntityInterface|null The entity for the phone number verification, or NULL if it is missing.

1 method overrides PhoneNumberVerificationInterface::getEntity()
PhoneNumberVerification::getEntity in src/Entity/PhoneNumberVerification.php
Gets the entity for the phone number verification.

File

src/Entity/PhoneNumberVerificationInterface.php, line 29

Class

PhoneNumberVerificationInterface
Interface for phone number verification entity.

Namespace

Drupal\sms\Entity

Code

public function getEntity();