You are here

public function DynamicMigration::__construct in Migrate 7.2

General initialization of a Migration object.

Overrides Migration::__construct

File

includes/migration.inc, line 1698
Defines the base class for import/rollback processes.

Class

DynamicMigration

Code

public function __construct($arguments) {
  parent::__construct($arguments);
  if (variable_get('migrate_deprecation_warnings', 1) && !self::$deprecationWarning) {
    self::displayMessage(t('The DynamicMigration class is no longer necessary and is now deprecated - please derive your migration classes directly from Migration.'));
    self::$deprecationWarning = TRUE;
  }
}