You are here

public function D6SmsNumber::fields in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Plugin/migrate/source/D6SmsNumber.php \Drupal\sms\Plugin\migrate\source\D6SmsNumber::fields()
  2. 2.1.x src/Plugin/migrate/source/D6SmsNumber.php \Drupal\sms\Plugin\migrate\source\D6SmsNumber::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 D6SmsNumber::fields()
D6SmsNumber::query in src/Plugin/migrate/source/D6SmsNumber.php

File

src/Plugin/migrate/source/D6SmsNumber.php, line 20

Class

D6SmsNumber
Source plugin for D6 sms_user phone number.

Namespace

Drupal\sms\Plugin\migrate\source

Code

public function fields() {
  return [
    'uid' => $this
      ->t('User ID'),
    'delta' => $this
      ->t('Delta'),
    'number' => $this
      ->t('Phone number'),
    'status' => $this
      ->t('Verification Status'),
    'code' => $this
      ->t('Verification code'),
    'gateway' => $this
      ->t('Verification gateway'),
  ];
}