You are here

public function PhoneNumberVerificationInterface::updatePhoneVerificationByEntity in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Provider/PhoneNumberVerificationInterface.php \Drupal\sms\Provider\PhoneNumberVerificationInterface::updatePhoneVerificationByEntity()
  2. 2.1.x src/Provider/PhoneNumberVerificationInterface.php \Drupal\sms\Provider\PhoneNumberVerificationInterface::updatePhoneVerificationByEntity()

Detect modifications to phone numbers on an entity.

Detects if phone numbers are modified on an entity. If new phone numbers are detected, new phone number verifications are created. If phone numbers are removed, the associated phone number verification is deleted.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: Update phone number verifications for this entity.

1 method overrides PhoneNumberVerificationInterface::updatePhoneVerificationByEntity()
PhoneNumberVerification::updatePhoneVerificationByEntity in src/Provider/PhoneNumberVerification.php
Detect modifications to phone numbers on an entity.

File

src/Provider/PhoneNumberVerificationInterface.php, line 111

Class

PhoneNumberVerificationInterface
Interface for phone number provider.

Namespace

Drupal\sms\Provider

Code

public function updatePhoneVerificationByEntity(EntityInterface $entity);