public function PhoneNumberSettingsInterface::setFieldName in SMS Framework 2.x
Same name and namespace in other branches
- 8 src/Entity/PhoneNumberSettingsInterface.php \Drupal\sms\Entity\PhoneNumberSettingsInterface::setFieldName()
- 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 137
Class
- PhoneNumberSettingsInterface
- Interface for SMS Gateway configuration entity.
Namespace
Drupal\sms\EntityCode
public function setFieldName($map, $field_name);