You are here

public function TextField::getFieldWidgetMap in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/text/src/Plugin/migrate/cckfield/TextField.php \Drupal\text\Plugin\migrate\cckfield\TextField::getFieldWidgetMap()

Get a map between D6 and D8 widgets for this field type.

Return value

array The keys are D6 field widget types and the values D8 widgets.

Overrides CckFieldPluginBase::getFieldWidgetMap

File

core/modules/text/src/Plugin/migrate/cckfield/TextField.php, line 24
Contains \Drupal\text\Plugin\migrate\cckfield\TextField.

Class

TextField
Plugin annotation @MigrateCckField( id = "text" )

Namespace

Drupal\text\Plugin\migrate\cckfield

Code

public function getFieldWidgetMap() {
  return [
    'text_textfield' => 'text_textfield',
  ];
}