Adding team information to migrate_d2d
I just followed the dependency chain of the example module:


ExampleNodeMigration extends DrupalNode6Migration
DrupalNode6Migration extends DrupalNodeMigration
DrupalNodeMigration extends DrupalMigration
DrupalMigration extends Migration


That means that as long as your class, like ExampleNodeMigration, extends a class down the chain from class Migration, your team implementation should be as in the example you gave.

In light of the changes you made:


  How do I modify DrupalMigration class properties so that I can set the team's properties and have all the children classes inherit this property?


You insert your own custom class that extends the lowest class in the chain that has what you need, then have your migration modules extend it. So if you are migrating users, you would extend DrupalUser7Migration in some custom class, then have your various user migration classes extend DrupalUser7Migration, and so on for each variety of thing that migrate_d2d can migrate. That may be the best you can do because PHP is single-inheritance.

There is another way to get around single-inheritance and not repeat yourself. You can create a trait, called, for example, MyMigrationSettings.

trait MyMigrationSettings {
  function setTeam() {
    $this-&gt;team = array(
    new MigrateTeamMember('Liz Taster', 'ltaster@example.com',
                        t('Product Owner')),
    new MigrateTeamMember('Larry Brewer', 'lbrewer@example.com',
                        t('Implementor')),
    );
  }
}


Then, use the trait in your migration classes:

class ExampleNodeMigration extends DrupalNode6Migration {
  use MyMigrationSettings;
  public function __construct($arguments) {
    parent::__construct($arguments);
    $this-&gt;setTeam();
    // ...
  );
}


I have not tested this code and I am just literally typing it into the comment box.