You are here

public function PhoneNumberVerificationInterface::getPhoneNumberSettings in SMS Framework 8

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

Gets read only phone number settings config object for a bundle.

Parameters

string $entity_type_id: The entity type ID of the bundle.

string $bundle: An entity bundle.

Return value

\Drupal\sms\Entity\PhoneNumberSettingsInterface|null A phone number settings entity, or NULL if it does not exist.

1 method overrides PhoneNumberVerificationInterface::getPhoneNumberSettings()
PhoneNumberVerification::getPhoneNumberSettings in src/Provider/PhoneNumberVerification.php
Gets read only phone number settings config object for a bundle.

File

src/Provider/PhoneNumberVerificationInterface.php, line 23

Class

PhoneNumberVerificationInterface
Interface for phone number provider.

Namespace

Drupal\sms\Provider

Code

public function getPhoneNumberSettings($entity_type_id, $bundle);