Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
MigrateDestinationPluginManager declares the $themeHandler and $providers members, even though they aren't used at all.
On the other hand, __construct() gets the entityManager, but $entityManager is not defined on the class.
git blame couldn't tell me when this was introduced.
Let's clean it up.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2560423-1-migrate-wrong-class-members.patch | 1.91 KB | bojanz |
Comments
Comment #2
bojanz CreditAttribution: bojanz at Centarro commentedRemoved the $themeManager and $providers members.
Added the $entityManager member.
Fixed the constructor documentation.
Comment #3
benjy CreditAttribution: benjy at PreviousNext commentedI guess that was some bad copy and paste. Patch looks fine.
Comment #4
alexpottCommitted eca67ab and pushed to 8.0.x. Thanks!