public function TaxType::fields in Commerce Migrate 3.1.x
Same name in this branch
- 3.1.x modules/ubercart/src/Plugin/migrate/source/uc7/TaxType.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7\TaxType::fields()
- 3.1.x modules/commerce/src/Plugin/migrate/source/commerce1/TaxType.php \Drupal\commerce_migrate_commerce\Plugin\migrate\source\commerce1\TaxType::fields()
Same name and namespace in other branches
- 8.2 modules/ubercart/src/Plugin/migrate/source/uc7/TaxType.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7\TaxType::fields()
- 3.0.x modules/ubercart/src/Plugin/migrate/source/uc7/TaxType.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7\TaxType::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 TaxTypeBase::fields
File
- modules/
ubercart/ src/ Plugin/ migrate/ source/ uc7/ TaxType.php, line 20
Class
- TaxType
- Gets the Ubercart tax rates.
Namespace
Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc7Code
public function fields() {
$fields = [
'display_include' => $this
->t('Display include'),
'inclusion_text' => $this
->t('Inclusion text'),
];
return parent::fields() + $fields;
}