class MigrateUuidNodeHandler in Migrate Extras 6.2
Node specific UUID Handler. This needs to be separate since nodes have the revision_uuid field as well.
Hierarchy
- class \MigrateHandler
- class \MigrateDestinationHandler
- class \MigrateUuidNodeHandler
- class \MigrateDestinationHandler
Expanded class hierarchy of MigrateUuidNodeHandler
1 string reference to 'MigrateUuidNodeHandler'
File
- ./
uuid.inc, line 35 - Support for Universally Unique Identifier (uuid) module.
View source
class MigrateUuidNodeHandler extends MigrateDestinationHandler {
public function __construct() {
$this
->registerTypes(array(
'node',
));
}
/**
* Make the destination field visible.
*/
public function fields() {
if (module_exists('uuid')) {
return array(
'uuid' => t('Universally Unique IDentifier'),
'revision_uuid' => t('Universally Unique IDentifier (revision)'),
);
}
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 | |
MigrateUuidNodeHandler:: |
public | function | Make the destination field visible. | |
MigrateUuidNodeHandler:: |
public | function |
Overrides MigrateHandler:: |