Contribution Date
Technology
Contribution Project
Contribution Details
I couldn't get to this earlier but I had a slightly different approach to solving this. Since the 'cck_plugin_method' only comes in picture when used with CckMigration, it would be better to isolate the changes there. This is what I had in mind.
class CckMigration extends FieldMigration {
public function getProcess() {
$this->pluginDefinition['field_plugin_method'] = $this->pluginDefinition['cck_plugin_method'];
return parent::getProcess();
}
}
With the above, the changes to FieldMigration in #55 can be reverted. We could probably add checks to the above but this is just to convey the idea.
The approach in #55 works too but the above code keeps the deprecated parts in the deprecated class and hence easier to remove later.
Contribution Issue Link
Contribution Link
Files count
0
Patches count
0