public function PhoneNumberSettings::getFieldName in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Entity/PhoneNumberSettings.php \Drupal\sms\Entity\PhoneNumberSettings::getFieldName()
- 2.1.x src/Entity/PhoneNumberSettings.php \Drupal\sms\Entity\PhoneNumberSettings::getFieldName()
Gets a field mapping.
Parameters
string $map: ID to map field name, as found in sms.phone.*.*.fields.$map.
Return value
string|null A field name, or NULL if not set.
Overrides PhoneNumberSettingsInterface::getFieldName
File
- src/
Entity/ PhoneNumberSettings.php, line 185
Class
- PhoneNumberSettings
- Defines storage for an SMS Gateway instance.
Namespace
Drupal\sms\EntityCode
public function getFieldName($map) {
return isset($this->fields[$map]) ? $this->fields[$map] : NULL;
}