You are here

Classes, traits, and interfaces in Migrate 6.2

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
AdvancedExampleMigration abstract class migrate_example/wine.inc Abstract intermediate class holding common settings. 10
BasicExampleMigration abstract class migrate_example/beer.inc To define a migration process from a set of source data to a particular kind of Drupal object (for example, a specific node type), you define a class derived from Migration. You must define a constructor to initialize your migration object. By… 4
BeerCommentMigration class migrate_example/beer.inc Import items from the migrate_example_beer_comment table and make them into Drupal comment objects.
BeerNodeMigration class migrate_example/beer.inc The BeerNodeMigration uses the migrate_example_beer_node table as source and creates Drupal nodes of type 'Beer' as destination.
BeerTermMigration class migrate_example/beer.inc There are four essential components to set up in your constructor: $this->source - An instance of a class derived from MigrateSource, this will feed data to the migration. $this->destination - An instance of a class derived from…
BeerUserMigration class migrate_example/beer.inc And that's it for the BeerTerm migration! For a simple migration, all you have to do is define the source, the destination, and mappings between the two - to import the data you simply do: drush migrate-import BeerTerm
DynamicMigration abstract class includes/migration.inc Convenience class - deriving from this rather than directory from Migration ensures that a class will not be registered as a migration itself - it is the implementor's responsibility to register each instance of a dynamic migration class. 2
MigrateCommentUnitTest class tests/plugins/destinations/comment.test Test comment migration.
MigrateContentParser abstract class plugins/sources/files.inc MigrateContentParser provides abstract methods that must be supported by an implementing class. We need to be able to get a list of the chunk IDs, a count, and then retrieve each chunk by it's ID. 1
MigrateDestination abstract class includes/destination.inc Abstract base class for destination handling. 3
MigrateDestinationComment class plugins/destinations/comment.inc Destination class implementing migration into comments.
MigrateDestinationEntity abstract class plugins/destinations/entity.inc Abstract base class for entity-based destination handling. Holds common Field API-related functions. 4
MigrateDestinationHandler abstract class includes/destination.inc All destination handlers should be derived from MigrateDestinationHandler 5
MigrateDestinationNode class plugins/destinations/node.inc Destination class implementing migration into nodes.
MigrateDestinationRole class plugins/destinations/user.inc
MigrateDestinationTable class plugins/destinations/table.inc Destination class implementing migration into a single table defined through the Schema API. 1
MigrateDestinationTableCopy class plugins/destinations/table_copy.inc Destination class implementing migration into a single table.
MigrateDestinationTerm class plugins/destinations/term.inc Destination class implementing migration into terms.
MigrateDestinationUser class plugins/destinations/user.inc Destination class implementing migration into users.
MigrateEmailFieldHandler class plugins/destinations/fields.inc
MigrateExampleOracle class migrate_example/migrate_example_oracle/migrate_example_oracle.migrate.inc Migration class to test importing from Oracle.
MigrateException class includes/exception.inc @file Custom exception class for the migrate module.
MigrateFieldHandler abstract class plugins/destinations/fields.inc 4
MigrateFieldMapping class includes/field_mapping.inc @file The MigrateFieldMapping class - tracking mappings between source and destination. 1
MigrateFieldsNodeHandler class plugins/destinations/fields.inc @file Support for processing CCK fields
MigrateFileFieldHandler class plugins/destinations/fields.inc
MigrateGroup class includes/group.inc @file Definition for a migration group.
MigrateHandler abstract class includes/handler.inc Abstract base class for destination handlers. Handler objects are expected to implement appropriate methods (e.g., prepare, complete, or fields). 2
MigrateImportOptionsTest class tests/import/options.test Test node migration.
MigrateItem abstract class plugins/sources/list.inc Extend the MigrateItem class to provide a means to obtain the data for a given migratable item given its ID as provided by the MigrateList class. 3
MigrateItemFile class plugins/sources/files.inc Implementation of MigrateItem, for retrieving a file from the file system based on source directory and an ID provided by a MigrateList class.
MigrateItemJSON class plugins/sources/json.inc Implementation of MigrateItem, for retrieving a parsed JSON object given an ID provided by a MigrateList class.
MigrateItems abstract class plugins/sources/multiitems.inc Extend the MigrateItems class to provide a means to obtain a list of IDs to be migrated from a given source (e.g., MigrateItemsXML extends MigrateItem to obtain a list of IDs from an XML document). This class also provides a means to obtain the data… 1
MigrateItemsXML class plugins/sources/xml.inc Implementation of MigrateItems, for providing a list of IDs and for retrieving a parsed XML document given an ID from this list.
MigrateItemXML class plugins/sources/xml.inc Implementation of MigrateItem, for retrieving a parsed XML document given an ID provided by a MigrateList class.
MigrateList abstract class plugins/sources/list.inc Extend the MigrateList class to provide a means to obtain a list of IDs to be migrated from a given source (e.g., MigrateListXML extends MigrateList to obtain a list of IDs from an XML document). 3
MigrateListFiles class plugins/sources/files.inc Implementation of MigrateList, for retrieving a list of IDs to be migrated from a directory listing. Each item is a file, it's ID is the path.
MigrateListJSON class plugins/sources/json.inc Implementation of MigrateList, for retrieving a list of IDs to be migrated from a JSON object.
MigrateListXML class plugins/sources/xml.inc Implementation of MigrateList, for retrieving a list of IDs to be migrated from an XML document.
MigrateMap abstract class includes/map.inc We implement the Iterator interface to support iteration over the map table for the purpose of rollback. 1
MigrateNodeReferenceFieldHandler class plugins/destinations/fields.inc
MigrateNodeUnitTest class tests/plugins/destinations/node.test Test node migration.
MigratePathNodeHandler class plugins/destinations/path.inc @file Support for paths in core Drupal objects
MigrateProfileUserHandler class plugins/destinations/profile.inc Destination class handling profile.module data.
MigrateSimpleContentParser class plugins/sources/files.inc Simple parser that doesn't actually parse anything - it just returns the whole file as a single chunk. This is the default parser used and is primarily for when your HTML files map one-to-one to nodes.
MigrateSimpleFieldHandler abstract class plugins/destinations/fields.inc Base class for creating field handlers for fields with a single value. 3
MigrateSource abstract class includes/source.inc Abstract base class for source handling. 7
MigrateSourceCSV class plugins/sources/csv.inc Implementation of MigrateSource, to handle imports from CSV files.
MigrateSourceList class plugins/sources/list.inc Implementation of MigrateSource, providing the semantics of iterating over IDs provided by a MigrateList and retrieving data from a MigrateItem.
MigrateSourceMSSQL class plugins/sources/mssql.inc Implementation of MigrateSource, to handle imports from remote MS SQL Server db servers.

Pages

Other projects