I expect this is a trivial question for those familiar with OOP/PHP. The migrate_d2d module provides an example module that demonstrates implementing a D6 -> D7 migration. I'm making great progress in defining the migration as I need. However, I am stumped on how I can add team information to my custom migration. The provided beer examples show performing this step when extending the Migration class.
abstract class BasicExampleMigration extends Migration {
public function __construct($arguments) {
parent::__construct($arguments);
$this->team = array(
new MigrateTeamMember('Liz Taster', 'ltaster@example.com',
t('Product Owner')),
new MigrateTeamMember('Larry Brewer', 'lbrewer@example.com',
t('Implementor')),
);
$this->issuePattern = 'http://drupal.org/node/:id:';
}
}
With migrate_d2d, the chain of dependency starts with the migrate_d2d class definitions:
Migration > DrupalMigration when then forks to:
DrupalUserMigration > DrupalUser7Migration
DrupalTermMigration > DrupalTerm7Migration
DrupalRoleMigration > DrupalRole7Migration
...etc
For my purposes, I'd like the DrupalMigration object to have the team properties set.
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?