public function FieldInstanceWidgetSettings::transform in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceWidgetSettings.php \Drupal\field\Plugin\migrate\process\d6\FieldInstanceWidgetSettings::transform()
Get the field instance default/mapped widget settings.
Overrides ProcessPluginBase::transform
File
- core/
modules/ field/ src/ Plugin/ migrate/ process/ d6/ FieldInstanceWidgetSettings.php, line 28 - Contains \Drupal\field\Plugin\migrate\process\d6\FieldInstanceWidgetSettings.
Class
- FieldInstanceWidgetSettings
- Get the field instance widget settings.
Namespace
Drupal\field\Plugin\migrate\process\d6Code
public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) {
list($widget_type, $widget_settings) = $value;
return $this
->getSettings($widget_type, $widget_settings);
}