You are here

public function UcRolesLicense::fields in Commerce License 8.2

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

File

src/Plugin/migrate/source/d6/UcRolesLicense.php, line 112

Class

UcRolesLicense
Drupal 6 Ubercart roles expiration source.

Namespace

Drupal\commerce_license\Plugin\migrate\source\d6

Code

public function fields() {
  return [
    'reid' => $this
      ->t('Record ID'),
    'uid' => $this
      ->t('User ID'),
    'rid' => $this
      ->t('The role ID'),
    'expiration' => $this
      ->t('The expiration date'),
    'nid' => $this
      ->t('Product node ID'),
    'duration' => $this
      ->t('The interval multiplier'),
    'granularity' => $this
      ->t('The interval'),
    'created' => $this
      ->t('Earliest order created time'),
    'modified' => $this
      ->t('Earliest order changed time'),
    'renewed' => $this
      ->t('Latest order created time'),
  ];
}