You are here

public function PhoneNumberSettings::setPhoneNumberBundle in SMS Framework 8

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

Sets the phone number settings bundle.

Parameters

string $bundle: Bundle of phone number settings.

Return value

$this Return phone number settings for chaining.

Overrides PhoneNumberSettingsInterface::setPhoneNumberBundle

File

src/Entity/PhoneNumberSettings.php, line 132

Class

PhoneNumberSettings
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

public function setPhoneNumberBundle($bundle) {
  $this->bundle = $bundle;
  return $this;
}