Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ReferenceBase.php

function 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',
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal