You are here

public function PhoneNumberSettings::setPhoneNumberEntityTypeId in SMS Framework 8

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

Sets the phone number settings entity type.

Parameters

string $entity_type_id: Entity type ID of phone number settings.

Return value

$this Return phone number settings for chaining.

Overrides PhoneNumberSettingsInterface::setPhoneNumberEntityTypeId

File

src/Entity/PhoneNumberSettings.php, line 117

Class

PhoneNumberSettings
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

public function setPhoneNumberEntityTypeId($entity_type_id) {
  $this->entity_type = $entity_type_id;
  return $this;
}