Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.0-beta15
Description: 

The initial implementation of Migrate in core included some features that were previously integrated into Migrate 7.x-2.x, but logically really belong in front-end tools for managing migrations, as well as some hook-like constructs like preImport(). These were, for the most part, only partly implemented and useless to contrib tools. Now that events have been added to the core Migrate API, enabling the contrib tools to implement front-end features entirely on their own, code meant to support these older-generation features has been removed from Migrate. The public interfaces/methods removed include:

  • MigrateDestinationInterface::preImport()
  • MigrateDestinationInterface::postImport()
  • MigrateDestinationInterface::preRollback()
  • MigrateDestinationInterface::postRollback()
  • MigrateDestinationBase::preImport()
  • MigrateDestinationBase::postImport()
  • MigrateDestinationBase::preRollback()
  • MigrateDestinationBase::postRollback()
  • MigrateDestinationBase::getCreated()
  • MigrateDestinationBase::getUpdated()
  • MigrateDestinationBase::resetStats()
  • SourcePluginBase::getIgnored()
  • SourcePluginBase::getProcessed()
  • SourcePluginBase::resetStats()
  • MigrateExecutableInterface::getTimeLimit()
  • MigrateExecutable::getTimeLimit()
  • MigrateExecutable::$timeThreshold
  • MigrateExecutable::$limit

Any existing Migrate plugins which implemented these methods should move the relevant code into event listeners/subscribers, as described here.

Impacts: 
Module developers