You are here

abstract public function DrupalVersion::getDefaultFormatMappings in Drupal-to-Drupal data migration 7.2

@abstract Returns an array keyed by the source system's format identifier (integer ID or machine name), with the destination Drupal 7 machine name as the value.

3 methods override DrupalVersion::getDefaultFormatMappings()
DrupalVersion5::getDefaultFormatMappings in d5/d5.inc
Generate default format mappings based on matching names. E.g., if the Drupal 5 database has format 5 with name 'Filtered HTML', and the Drupal 7 databas has format filtered_html with name 'Filtered HTML', the resulting array will…
DrupalVersion6::getDefaultFormatMappings in d6/d6.inc
Generate default format mappings based on matching names. E.g., if the Drupal 6 database has format 5 with name 'Filtered HTML', and the Drupal 7 databas has format filtered_html with name 'Filtered HTML', the resulting array will…
DrupalVersion7::getDefaultFormatMappings in d7/d7.inc
Generate default format mappings based on matching machine names or display names.

File

./migrate_d2d.migrate.inc, line 295
Base classes for all Drupal-to-Drupal migration classes.

Class

DrupalVersion
There should be an implementation of this abstract class, named DrupalVersion{version #}, for each Drupal version supported as a source. It will implement any functions needed by multiple version-specific classes (e.g., nodes as well as users).

Code

public abstract function getDefaultFormatMappings();