PhoneField.php
Same filename in other branches
Namespace
Drupal\telephone\Plugin\migrate\field\d7File
-
core/
modules/ telephone/ src/ Plugin/ migrate/ field/ d7/ PhoneField.php
View source
<?php
namespace Drupal\telephone\Plugin\migrate\field\d7;
use Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase;
/**
* @MigrateField(
* id = "phone",
* type_map = {
* "phone" = "telephone",
* },
* core = {7},
* source_module = "phone",
* destination_module = "telephone"
* )
*/
class PhoneField extends FieldPluginBase {
/**
* {@inheritdoc}
*/
public function getFieldFormatterMap() {
return [
'phone' => 'basic_string',
];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
PhoneField | Plugin annotation @MigrateField( id = "phone", type_map = { "phone" = "telephone", }, core = {7}, source_module = "phone", destination_module = "telephone" ) |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.