You are here

public function PhoneNumberSettingsInterface::setFieldName in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Entity/PhoneNumberSettingsInterface.php \Drupal\sms\Entity\PhoneNumberSettingsInterface::setFieldName()
  2. 2.x src/Entity/PhoneNumberSettingsInterface.php \Drupal\sms\Entity\PhoneNumberSettingsInterface::setFieldName()

Gets a field mapping.

Parameters

string $map: ID to map field name, as found in sms.phone.*.*.fields.$map.

string|null $field_name: A field name, or NULL to unset.

Return value

$this Return phone number settings for chaining.

1 method overrides PhoneNumberSettingsInterface::setFieldName()
PhoneNumberSettings::setFieldName in src/Entity/PhoneNumberSettings.php
Gets a field mapping.

File

src/Entity/PhoneNumberSettingsInterface.php, line 137

Class

PhoneNumberSettingsInterface
Interface for SMS Gateway configuration entity.

Namespace

Drupal\sms\Entity

Code

public function setFieldName($map, $field_name);