PhoneField.php

Same filename in other branches
  1. 9 core/modules/telephone/src/Plugin/migrate/field/d7/PhoneField.php
  2. 8.9.x core/modules/telephone/src/Plugin/migrate/field/d7/PhoneField.php
  3. 10 core/modules/telephone/src/Plugin/migrate/field/d7/PhoneField.php

Namespace

Drupal\telephone\Plugin\migrate\field\d7

File

core/modules/telephone/src/Plugin/migrate/field/d7/PhoneField.php

View source
<?php

namespace Drupal\telephone\Plugin\migrate\field\d7;

use Drupal\migrate_drupal\Attribute\MigrateField;
use Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase;
class PhoneField extends FieldPluginBase {
    
    /**
     * {@inheritdoc}
     */
    public function getFieldFormatterMap() {
        return [
            'phone' => 'basic_string',
        ];
    }

}

Classes

Title Deprecated Summary
PhoneField

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.