You are here

public function CckFieldPluginBase::getFieldWidgetMap in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase::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 MigrateCckFieldInterface::getFieldWidgetMap

1 call to CckFieldPluginBase::getFieldWidgetMap()
CckFieldPluginBase::processFieldWidget in core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php
Apply any custom processing to the field widget migration.
2 methods override CckFieldPluginBase::getFieldWidgetMap()
FileField::getFieldWidgetMap in core/modules/file/src/Plugin/migrate/cckfield/FileField.php
Get a map between D6 and D8 widgets for this field type.
TextField::getFieldWidgetMap in core/modules/text/src/Plugin/migrate/cckfield/TextField.php
Get a map between D6 and D8 widgets for this field type.

File

core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php, line 56
Contains \Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase.

Class

CckFieldPluginBase
The base class for all cck field plugins.

Namespace

Drupal\migrate_drupal\Plugin\migrate\cckfield

Code

public function getFieldWidgetMap() {

  // By default use the plugin id for the widget types.
  return [
    $this->pluginId => $this->pluginId . '_default',
  ];
}