AdvancedExampleMigration |
abstract class |
|
migrate_example/wine.inc |
Abstract intermediate class holding common settings. |
12 |
|
|
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. |
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 Deprecated |
abstract class |
|
includes/migration.inc |
|
|
|
|
GameBaseball |
class |
|
migrate_example_baseball/migrate_example_baseball.migrate.inc |
A migration that is reused for each source CSV file. |
|
|
|
MigrateCommentNodeHandler |
class |
|
plugins/destinations/comment.inc |
|
|
|
|
MigrateCommentUnitTest |
class |
|
tests/plugins/destinations/comment.test |
Test comment migration. |
|
|
|
MigrateConnectionQuery |
class |
|
plugins/sources/sql.inc |
Query extender for retrieving the connection used on the query. |
|
|
|
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 |
|
|
MigrateDefaultFieldHandler |
class |
|
plugins/destinations/fields.inc |
A fallback field handler to do basic copying of field data. |
|
|
|
MigrateDestination |
abstract class |
|
includes/destination.inc |
Abstract base class for destination handling. |
7 |
|
|
MigrateDestinationComment |
class |
|
plugins/destinations/comment.inc |
Destination class implementing migration into comments. |
|
|
|
MigrateDestinationCustomBlock |
class |
|
plugins/destinations/block_custom.inc |
Destination class implementing migration into {block_custom}. |
|
|
|
MigrateDestinationEntity |
abstract class |
|
plugins/destinations/entity.inc |
Abstract base class for entity-based destination handling. Holds common
Field API-related functions. |
5 |
|
|
MigrateDestinationFile |
class |
|
plugins/destinations/file.inc |
Destination class implementing migration into the files table. |
|
|
|
MigrateDestinationHandler |
abstract class |
|
includes/destination.inc |
All destination handlers should be derived from MigrateDestinationHandler |
5 |
|
|
MigrateDestinationMenu |
class |
|
plugins/destinations/menu.inc |
Destination class implementing migration into {menu_custom}. |
|
|
|
MigrateDestinationMenuLinks |
class |
|
plugins/destinations/menu_links.inc |
Destination class implementing migration into {menu_links}. |
|
|
|
MigrateDestinationNode |
class |
|
plugins/destinations/node.inc |
Destination class implementing migration into nodes. |
1 |
|
|
MigrateDestinationNodeRevision |
class |
|
plugins/destinations/node.inc |
Allows you to import revisions. |
|
|
|
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. |
|
|
|
MigrateDestinationVariable |
class |
|
plugins/destinations/variable.inc |
Destination class implementing migration into {variable}. |
|
|
|
MigrateExampleOracleNode |
class |
|
migrate_example/migrate_example_oracle/migrate_example_oracle.migrate.inc |
Migration class to test importing from Oracle into nodes. |
|
|
|
MigrateException |
class |
|
includes/exception.inc |
@file
Custom exception class for the migrate module. |
|
|
|
MigrateFieldHandler |
abstract class |
|
plugins/destinations/fields.inc |
|
5 |
|
|
MigrateFieldMapping |
class |
|
includes/field_mapping.inc |
@file
The MigrateFieldMapping class - tracking mappings between source and
destination. |
1 |
|
|
MigrateFieldsEntityHandler |
class |
|
plugins/destinations/fields.inc |
@file
Support for processing entity fields |
|
|
|
MigrateFile |
abstract class |
|
plugins/destinations/file.inc |
Base class for creating core file entities. |
2 |
|
|
MigrateFileBase |
abstract class |
|
plugins/destinations/file.inc |
|
3 |
|
|
MigrateFileBlob |
class |
|
plugins/destinations/file.inc |
Handle cases where we're handed a blob (i.e., the actual contents of a file,
such as image data) to be stored as a real file in Drupal. |
|
|
|
MigrateFileFid |
class |
|
plugins/destinations/file.inc |
Handle the degenerate case where we already have a file ID. |
|
|
|
MigrateFileFieldBaseHandler |
abstract class |
|
plugins/destinations/fields.inc |
The next generation of file field handler. This class focuses on the file
field itself, and offloads understanding of obtaining the actual file and
dealing with the file entity to an embedded MigrateFileInterface instance. |
2 |
|
|
MigrateFileFieldHandler |
class |
|
plugins/destinations/fields.inc |
Handle for file fields. |
|
|
|
MigrateFileInterface |
interface |
|
plugins/destinations/file.inc |
Interface for taking some value representing a file and returning
a Drupal file entity (creating the entity if necessary). |
1 |
|
|
MigrateFileUri |
class |
|
plugins/destinations/file.inc |
Handle cases where we're handed a URI, or local filespec, representing a file
to be imported to Drupal. |
|
|
|
MigrateFileUriAsIs |
class |
|
plugins/destinations/file.inc |
The simplest possible file class - where the value is a remote URI which
simply needs to be saved as the URI on the destination side, with no attempt
to copy or otherwise use it. |
|
|
|
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 |
|
|
MigrateImageFieldHandler |
class |
|
plugins/destinations/fields.inc |
Handle for image fields; |
|
|
|
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. |
|
|
|