You are here

public function PhoneNumberVerificationInterface::setEntity in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 src/Entity/PhoneNumberVerificationInterface.php \Drupal\sms\Entity\PhoneNumberVerificationInterface::setEntity()
  2. 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 40

Class

PhoneNumberVerificationInterface
Interface for phone number verification entity.

Namespace

Drupal\sms\Entity

Code

public function setEntity(EntityInterface $entity);