You are here

protected function Password::encryptionOptions in Feeds 8.3

Returns the list of available password encryption methods.

Return value

array An array of password encryption option titles.

See also

passFormCallback()

1 call to Password::encryptionOptions()
Password::buildConfigurationForm in src/Feeds/Target/Password.php
Form constructor.

File

src/Feeds/Target/Password.php, line 143

Class

Password
Defines a password field mapper.

Namespace

Drupal\feeds\Feeds\Target

Code

protected function encryptionOptions() {
  return [
    self::PASS_UNENCRYPTED => $this
      ->t('Unencrypted'),
    self::PASS_MD5 => $this
      ->t('MD5 (used in older versions of Drupal)'),
    self::PASS_SHA512 => $this
      ->t('Hashed'),
  ];
}