function LinkField::getFieldWidgetMap

Same name in other branches
  1. 9 core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldWidgetMap()
  2. 8.9.x core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldWidgetMap()
  3. 8.9.x core/modules/link/src/Plugin/migrate/cckfield/d7/LinkField.php \Drupal\link\Plugin\migrate\cckfield\d7\LinkField::getFieldWidgetMap()
  4. 10 core/modules/link/src/Plugin/migrate/field/d7/LinkField.php \Drupal\link\Plugin\migrate\field\d7\LinkField::getFieldWidgetMap()

Overrides FieldPluginBase::getFieldWidgetMap

File

core/modules/link/src/Plugin/migrate/field/d7/LinkField.php, line 49

Class

LinkField
MigrateField Plugin for Drupal 7 link fields.

Namespace

Drupal\link\Plugin\migrate\field\d7

Code

public function getFieldWidgetMap() {
    // By default, use the plugin ID for the widget types.
    return [
        'link_field' => 'link_default',
    ];
}

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