class TelephoneField
Same name in other branches
- 9 core/modules/telephone/src/Plugin/migrate/field/d7/TelephoneField.php \Drupal\telephone\Plugin\migrate\field\d7\TelephoneField
- 11.x core/modules/telephone/src/Plugin/migrate/field/d7/TelephoneField.php \Drupal\telephone\Plugin\migrate\field\d7\TelephoneField
Hierarchy
- class \Drupal\telephone\Plugin\migrate\field\d7\TelephoneField extends \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase
Expanded class hierarchy of TelephoneField
File
-
core/
modules/ telephone/ src/ Plugin/ migrate/ field/ d7/ TelephoneField.php, line 8
Namespace
Drupal\telephone\Plugin\migrate\field\d7View source
class TelephoneField extends FieldPluginBase {
/**
* {@inheritdoc}
*/
public function getFieldWidgetMap() {
// The widget IDs are identical in Drupal 7 and 8, so we do not need any
// mapping.
return [];
}
/**
* {@inheritdoc}
*/
public function getFieldFormatterMap() {
return [
'text_plain' => 'string',
'telephone_link' => 'telephone_link',
];
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.