public function MigrateDestinationUser::__construct in Migrate 7.2
Same name and namespace in other branches
- 6.2 plugins/destinations/user.inc \MigrateDestinationUser::__construct()
Basic initialization
Parameters
array $options: Options applied to comments.
Overrides MigrateDestinationEntity::__construct
File
- plugins/
destinations/ user.inc, line 55 - Support for user destinations.
Class
- MigrateDestinationUser
- Destination class implementing migration into users.
Code
public function __construct(array $options = array()) {
parent::__construct('user', 'user', $options);
if (!empty($options['md5_passwords'])) {
$this->md5Passwords = $options['md5_passwords'];
}
// Reduce hash count so import runs in a reasonable time (use same value as
// the standard Drupal 6=>Drupal 7 upgrade path).
global $conf;
$conf['password_count_log2'] = 11;
}