class DrupalDestinationUser in Drupal-to-Drupal data migration 7.2
We add support for user paths, which is not supported by the core destination, so document the presence of the field.
Hierarchy
- class \MigrateDestination
- class \MigrateDestinationEntity
- class \MigrateDestinationUser
- class \DrupalDestinationUser
- class \MigrateDestinationUser
- class \MigrateDestinationEntity
Expanded class hierarchy of DrupalDestinationUser
File
- ./
user.inc, line 262 - Base class for migrating users into Drupal.
View source
class DrupalDestinationUser extends MigrateDestinationUser {
public function fields($migration = NULL) {
$fields = parent::fields($migration);
$fields['path'] = t('Path alias');
return $fields;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DrupalDestinationUser:: |
public | function |
Returns a list of fields available to be mapped for users Overrides MigrateDestinationUser:: |
|
MigrateDestination:: |
protected | property | Maintain stats on the number of destination objects created or updated. | |
MigrateDestination:: |
protected | property | ||
MigrateDestination:: |
public | function | ||
MigrateDestination:: |
public | function | ||
MigrateDestination:: |
public | function | Reset numCreated and numUpdated back to 0. | |
MigrateDestinationEntity:: |
protected | property | The bundle (node type, vocabulary, etc.) of the destination. | |
MigrateDestinationEntity:: |
protected | property | The entity type (node, user, taxonomy_term, etc.) of the destination. | |
MigrateDestinationEntity:: |
protected | property | Default language for text fields in this destination. | |
MigrateDestinationEntity:: |
protected | property | Default input format for text fields in this destination. | |
MigrateDestinationEntity:: |
public static | function | Flattens an array of allowed values. | |
MigrateDestinationEntity:: |
public | function | Give handlers a shot at modifying the object (or taking additional action) after saving it. | |
MigrateDestinationEntity:: |
public | function | Give handlers a shot at cleaning up after an entity has been rolled back. | |
MigrateDestinationEntity:: |
public static | function | Perform field validation against the field data in an entity. Wraps field_attach_validate to handle exceptions cleanly and provide maximum information for identifying the cause of validation errors. | |
MigrateDestinationEntity:: |
public | function | ||
MigrateDestinationEntity:: |
public | function | ||
MigrateDestinationEntity:: |
public | function | ||
MigrateDestinationEntity:: |
public | function | ||
MigrateDestinationEntity:: |
public | function | Give handlers a shot at modifying the object before saving it. | |
MigrateDestinationEntity:: |
public | function | Give handlers a shot at cleaning up before an entity has been rolled back. | |
MigrateDestinationEntity:: |
public | function |
Derived classes must implement __toString(). Overrides MigrateDestination:: |
|
MigrateDestinationUser:: |
protected | property | Indicates whether incoming passwords are md5-encrypted - if so, we will rehash them similarly to the D6->D7 upgrade path. | |
MigrateDestinationUser:: |
public | function | Delete a batch of users at once. | |
MigrateDestinationUser:: |
public static | function | ||
MigrateDestinationUser:: |
public | function |
Import a single user. Overrides MigrateDestination:: |
|
MigrateDestinationUser:: |
public static | function | Return an options array for user destinations. | |
MigrateDestinationUser:: |
public | function |
Basic initialization Overrides MigrateDestinationEntity:: |