public function OfficeHoursField::getFieldWidgetMap in Office Hours 8
Get a map between D6 and D8 widgets for this field type.
Return value
array The keys are D6 field widget types and the values D8 widgets.
Overrides FieldPluginBase::getFieldWidgetMap
File
- src/
Plugin/ migrate/ field/ OfficeHoursField.php, line 24
Class
- OfficeHoursField
- Plugin annotation @MigrateCckField( id = "office_hours_field", core = {7}, source_module = "office_hours", destination_module = "office_hours", type_map = { "office_hours" = "office_hours" } )
Namespace
Drupal\office_hours\Plugin\migrate\fieldCode
public function getFieldWidgetMap() {
return [
'office_hours' => 'office_hours_default',
];
}