function FieldPluginBase::getFieldWidgetType
Same name in other branches
- 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::getFieldWidgetType()
- 10 core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::getFieldWidgetType()
- 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::getFieldWidgetType()
Overrides MigrateFieldInterface::getFieldWidgetType
1 method overrides FieldPluginBase::getFieldWidgetType()
- TextField::getFieldWidgetType in core/
modules/ text/ src/ Plugin/ migrate/ field/ d7/ TextField.php - Get the field widget type from the source.
File
-
core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ FieldPluginBase.php, line 65
Class
- FieldPluginBase
- The base class for all field plugins.
Namespace
Drupal\migrate_drupal\Plugin\migrate\fieldCode
public function getFieldWidgetType(Row $row) {
return $row->getSourceProperty('widget/type');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.