public function ReferenceBase::getFieldWidgetMap in Drupal 9
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 FieldPluginBase::getFieldWidgetMap
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ ReferenceBase.php, line 58
Class
- ReferenceBase
- Base class for Drupal reference fields.
Namespace
Drupal\migrate_drupal\Plugin\migrate\fieldCode
public function getFieldWidgetMap() {
return [
$this->pluginId . '_select' => 'options_select',
$this->pluginId . '_buttons' => 'options_buttons',
$this->pluginId . '_autocomplete' => 'entity_reference_autocomplete_tags',
];
}