You are here

public function WinePrepMigration::__construct in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 migrate_example/wine.inc \WinePrepMigration::__construct()

Construction of a MigrationBase instance.

Parameters

array $arguments:

Overrides MigrationBase::__construct

File

migrate_example/wine.inc, line 63
Advanced migration examples. These serve two purposes:

Class

WinePrepMigration
TIP: While usually you'll create true migrations - processes that copy data from some source into Drupal - you can also define processing steps for either the import or rollback stages that take other actions. In this case, we want to disable…

Code

public function __construct($arguments) {
  parent::__construct($arguments);
  $this->description = t('If auto_nodetitle is present, disable it for the duration');
}