You are here

protected function BulkUserRegistration::getStandardFields in Bulk User Registration 8

Returns the names of standard CSV fields.

Return value

array Array of field names.

1 call to BulkUserRegistration::getStandardFields()
BulkUserRegistration::getFieldNames in src/BulkUserRegistration.php
Get CSV field names.

File

src/BulkUserRegistration.php, line 167

Class

BulkUserRegistration
The BulkUserRegistration service.

Namespace

Drupal\bulk_user_registration

Code

protected function getStandardFields() {
  return [
    self::FIELD_USER_NAME,
    self::FIELD_EMAIL,
    self::FIELD_STATUS,
    self::FIELD_ROLE,
  ];
}