You are here

public static function UloginHelper::fieldsList in uLogin (advanced version) 8

Internal functions.

2 calls to UloginHelper::fieldsList()
SettingsForm::buildForm in src/Form/SettingsForm.php
Form constructor.
ulogin_token_info in ./ulogin.tokens.inc
Implements hook_token_info().

File

src/UloginHelper.php, line 229

Class

UloginHelper
Ulogin Helper class.

Namespace

Drupal\ulogin

Code

public static function fieldsList() {
  return [
    'first_name' => t('First name'),
    'last_name' => t('Last name'),
    'email' => t('Email address'),
    'nickname' => t('Nickname'),
    'bdate' => t('Birthday'),
    'sex' => t('Gender'),
    'phone' => t('Phone number'),
    'photo' => t('Photo'),
    'photo_big' => t('Big photo'),
    'city' => t('City'),
    'country' => t('Country'),
  ];
}