You are here

public function CasUser::fields in CAS 8

Same name and namespace in other branches
  1. 2.x src/Plugin/migrate/source/d7/CasUser.php \Drupal\cas\Plugin\migrate\source\d7\CasUser::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/d7/CasUser.php, line 27

Class

CasUser
Drupal authmap source from database.

Namespace

Drupal\cas\Plugin\migrate\source\d7

Code

public function fields() {
  return [
    'uid' => $this
      ->t('The user identifier.'),
    'cas_name' => $this
      ->t('Unique authentication name.'),
  ];
}