class MigrateUuidHandler in Migrate Extras 6.2
Generic UUID Handler.
Hierarchy
- class \MigrateHandler
- class \MigrateDestinationHandler
- class \MigrateUuidHandler
- class \MigrateDestinationHandler
Expanded class hierarchy of MigrateUuidHandler
1 string reference to 'MigrateUuidHandler'
File
- ./
uuid.inc, line 11 - Support for Universally Unique Identifier (uuid) module.
View source
class MigrateUuidHandler extends MigrateDestinationHandler {
public function __construct() {
$this
->registerTypes(array(
'user',
'comment',
'taxonomy_term',
));
}
/**
* Make the destination field visible.
*/
public function fields() {
if (module_exists('uuid')) {
return array(
'uuid' => t('Universally Unique IDentifier'),
);
}
else {
return array();
}
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateHandler:: |
protected | property | List of other handler classes which should be invoked before the current one. | |
MigrateHandler:: |
protected | property | List of "types" handled by this handler. Depending on the kind of handler, these may be destination types, field types, etc. | |
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | Does this handler handle the given type? | |
MigrateHandler:: |
protected | function | Register a list of types handled by this class | |
MigrateUuidHandler:: |
public | function | Make the destination field visible. | |
MigrateUuidHandler:: |
public | function |
Overrides MigrateHandler:: |