You are here

public function WineFinishMigration::isComplete in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 migrate_example/wine.inc \WineFinishMigration::isComplete()

Reports whether this migration process is complete. For a Migration, for example, this would be whether all available source rows have been processed. Other MigrationBase classes will need to return TRUE/FALSE appropriately.

Overrides MigrationBase::isComplete

File

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

Class

WineFinishMigration
This migration works with WinePrepMigration to make ensure auto_nodetitle is re-enabled if we disabled it.

Code

public function isComplete() {
  if (module_exists('auto_nodetitle')) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}