function TextField::getFieldFormatterMap

Same name in other branches
  1. 9 core/modules/text/src/Plugin/migrate/field/d6/TextField.php \Drupal\text\Plugin\migrate\field\d6\TextField::getFieldFormatterMap()
  2. 8.9.x core/modules/text/src/Plugin/migrate/field/d6/TextField.php \Drupal\text\Plugin\migrate\field\d6\TextField::getFieldFormatterMap()
  3. 8.9.x core/modules/text/src/Plugin/migrate/cckfield/TextField.php \Drupal\text\Plugin\migrate\cckfield\TextField::getFieldFormatterMap()
  4. 11.x core/modules/text/src/Plugin/migrate/field/d6/TextField.php \Drupal\text\Plugin\migrate\field\d6\TextField::getFieldFormatterMap()

Overrides FieldPluginBase::getFieldFormatterMap

File

core/modules/text/src/Plugin/migrate/field/d6/TextField.php, line 39

Class

TextField
MigrateField Plugin for Drupal 6 text fields.

Namespace

Drupal\text\Plugin\migrate\field\d6

Code

public function getFieldFormatterMap() {
    return [
        'default' => 'text_default',
        'trimmed' => 'text_trimmed',
        'plain' => 'basic_string',
    ];
}

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