public function TaxTypeBase::fields in Commerce Migrate 3.1.x
Same name and namespace in other branches
- 8.2 modules/ubercart/src/Plugin/migrate/source/TaxTypeBase.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\TaxTypeBase::fields()
- 3.0.x modules/ubercart/src/Plugin/migrate/source/TaxTypeBase.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\TaxTypeBase::fields()
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides MigrateSourceInterface::fields
1 call to TaxTypeBase::fields()
- TaxType::fields in modules/
ubercart/ src/ Plugin/ migrate/ source/ uc7/ TaxType.php - Returns available fields on the source.
1 method overrides TaxTypeBase::fields()
- TaxType::fields in modules/
ubercart/ src/ Plugin/ migrate/ source/ uc7/ TaxType.php - Returns available fields on the source.
File
- modules/
ubercart/ src/ Plugin/ migrate/ source/ TaxTypeBase.php, line 23
Class
- TaxTypeBase
- Base class for Ubercart tax type source plugins.
Namespace
Drupal\commerce_migrate_ubercart\Plugin\migrate\sourceCode
public function fields() {
return [
'id' => $this
->t('TaxType ID'),
'name' => $this
->t('TaxType Name'),
'rate' => $this
->t('TaxType Rate'),
'shippable' => $this
->t('Shippable'),
'taxed_product_types' => $this
->t('Taxed product types'),
'taxed_line_item' => $this
->t('Taxed line item'),
'weight' => $this
->t('Weight'),
'country_iso_code_2' => $this
->t('Country 2 character code'),
];
}