function ReferenceBase::getFieldWidgetMap

Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php \Drupal\migrate_drupal\Plugin\migrate\field\ReferenceBase::getFieldWidgetMap()
  2. 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php \Drupal\migrate_drupal\Plugin\migrate\field\ReferenceBase::getFieldWidgetMap()

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\field

Code

public function getFieldWidgetMap() {
    return [
        $this->pluginId . '_select' => 'options_select',
        $this->pluginId . '_buttons' => 'options_buttons',
        $this->pluginId . '_autocomplete' => 'entity_reference_autocomplete_tags',
    ];
}

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