class MigratePathNodeHandler in Migrate 6.2
@file Support for paths in core Drupal objects
Hierarchy
- class \MigrateHandler
- class \MigrateDestinationHandler
- class \MigratePathNodeHandler
- class \MigrateDestinationHandler
Expanded class hierarchy of MigratePathNodeHandler
1 string reference to 'MigratePathNodeHandler'
File
- plugins/
destinations/ path.inc, line 8 - Support for paths in core Drupal objects
View source
class MigratePathNodeHandler extends MigrateDestinationHandler {
public function __construct() {
$this
->registerTypes(array(
'node',
));
}
public function fields($entity_type, $bundle) {
switch ($entity_type) {
case 'node':
return array(
'path' => t('Node: Path alias'),
);
}
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 | |
MigratePathNodeHandler:: |
public | function | ||
MigratePathNodeHandler:: |
public | function |
Overrides MigrateHandler:: |