public function Authmap::fields in External Authentication 8
Same name in this branch
- 8 src/Plugin/migrate/source/Authmap.php \Drupal\externalauth\Plugin\migrate\source\Authmap::fields()
- 8 src/Plugin/migrate/destination/Authmap.php \Drupal\externalauth\Plugin\migrate\destination\Authmap::fields()
Same name and namespace in other branches
- 2.0.x src/Plugin/migrate/destination/Authmap.php \Drupal\externalauth\Plugin\migrate\destination\Authmap::fields()
Returns an array of destination fields.
Derived classes must implement fields(), returning a list of available destination fields.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: Unused, will be removed before Drupal 9.0.x. Defaults to NULL.
Return value
array
- Keys: machine names of the fields
- Values: Human-friendly descriptions of the fields.
Overrides MigrateDestinationInterface::fields
File
- src/
Plugin/ migrate/ destination/ Authmap.php, line 86
Class
- Authmap
- Drupal 8 authmap destination.
Namespace
Drupal\externalauth\Plugin\migrate\destinationCode
public function fields(MigrationInterface $migration = NULL) {
return [
'uid' => 'Primary key: users.uid for user.',
'provider' => 'The name of the authentication provider providing the authname',
'authname' => 'Unique authentication name provided by authentication provider',
];
}