You are here

public function PhoneNumberVerificationInterface::setCode in SMS Framework 8

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

Sets the code for the phone number verification.

Parameters

string $code: The code for the phone number verification.

Return value

$this Return phone number verification for chaining.

1 method overrides PhoneNumberVerificationInterface::setCode()
PhoneNumberVerification::setCode in src/Entity/PhoneNumberVerification.php
Sets the code for the phone number verification.

File

src/Entity/PhoneNumberVerificationInterface.php, line 76

Class

PhoneNumberVerificationInterface
Interface for phone number verification entity.

Namespace

Drupal\sms\Entity

Code

public function setCode($code);