class TermStatusMigrationHandler in Taxonomy Term Status 7
Destination handler for Taxonomy Term Status module.
Hierarchy
- class \MigrateHandler
- class \MigrateDestinationHandler
- class \TermStatusMigrationHandler
- class \MigrateDestinationHandler
Expanded class hierarchy of TermStatusMigrationHandler
1 string reference to 'TermStatusMigrationHandler'
- termstatus_migrate_api in ./
termstatus.migrate.inc - Implements hook_migrate_api().
File
- ./
termstatus.migrate.inc, line 11 - Migration support for the Taxonomy Term Status module.
View source
class TermStatusMigrationHandler extends MigrateDestinationHandler {
public function __construct() {
$this
->registerTypes(array(
'taxonomy_term',
));
}
/**
* Implements MigrateDestinationHandler::fields().
*/
public function fields() {
return array(
'status' => t('The taxonomy term status (1 if published, 0 if not published).'),
);
}
}
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? | 1 |
MigrateHandler:: |
protected | function | Register a list of types handled by this class | |
TermStatusMigrationHandler:: |
public | function | Implements MigrateDestinationHandler::fields(). | |
TermStatusMigrationHandler:: |
public | function |
Overrides MigrateHandler:: |