public function PhoneNumberVerificationInterface::setEntity in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Entity/PhoneNumberVerificationInterface.php \Drupal\sms\Entity\PhoneNumberVerificationInterface::setEntity()
- 2.1.x src/Entity/PhoneNumberVerificationInterface.php \Drupal\sms\Entity\PhoneNumberVerificationInterface::setEntity()
Sets the entity for the phone number verification.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity for the phone number verification.
Return value
$this Return phone number verification for chaining.
1 method overrides PhoneNumberVerificationInterface::setEntity()
- PhoneNumberVerification::setEntity in src/
Entity/ PhoneNumberVerification.php - Sets the entity for the phone number verification.
File
- src/
Entity/ PhoneNumberVerificationInterface.php, line 38
Class
- PhoneNumberVerificationInterface
- Interface for phone number verification entity.
Namespace
Drupal\sms\EntityCode
public function setEntity(EntityInterface $entity);