You are here

public function PhoneNumberSettingsInterface::setFieldName in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Entity/PhoneNumberSettingsInterface.php \Drupal\sms\Entity\PhoneNumberSettingsInterface::setFieldName()
  2. 2.1.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 135

Class

PhoneNumberSettingsInterface
Interface for SMS Gateway configuration entity.

Namespace

Drupal\sms\Entity

Code

public function setFieldName($map, $field_name);