You are here

public function Authmap::fields in External Authentication 8

Same name in this branch
  1. 8 src/Plugin/migrate/source/Authmap.php \Drupal\externalauth\Plugin\migrate\source\Authmap::fields()
  2. 8 src/Plugin/migrate/destination/Authmap.php \Drupal\externalauth\Plugin\migrate\destination\Authmap::fields()
Same name and namespace in other branches
  1. 2.0.x src/Plugin/migrate/source/Authmap.php \Drupal\externalauth\Plugin\migrate\source\Authmap::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

File

src/Plugin/migrate/source/Authmap.php, line 27

Class

Authmap
Drupal authmap source from database.

Namespace

Drupal\externalauth\Plugin\migrate\source

Code

public function fields() {
  return [
    'uid' => $this
      ->t('User’s users.uid.'),
    'authname' => $this
      ->t('Unique authentication name.'),
    'module' => $this
      ->t('Module which is controlling the authentication.'),
  ];
}