You are here

public function FeedsUserProcessor::passFormCallback in Feeds 7.2

Mapping configuration form callback for target "pass".

File

plugins/FeedsUserProcessor.inc, line 660
Contains FeedsUserProcessor.

Class

FeedsUserProcessor
Feeds processor plugin. Create users from feed items.

Code

public function passFormCallback($mapping, $target, $form, $form_state) {
  return array(
    'pass_encryption' => array(
      '#type' => 'select',
      '#title' => t('Password encryption'),
      '#options' => $this
        ->passFormCallbackOptions(),
      '#default_value' => !empty($mapping['pass_encryption']) ? $mapping['pass_encryption'] : self::PASS_UNENCRYPTED,
    ),
  );
}