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.
We have to implement Dependency Injection in the FocalPointPreviewController.
I already implemented the DI and some minor code style fixes.
Will post the patch in the comment below.
Comment | File | Size | Author |
---|---|---|---|
#3 | di-for-preview-controller-3015267-3.patch | 5.84 KB | Nikolay Borisov |
|
Comments
Comment #2
Nikolay Borisov CreditAttribution: Nikolay Borisov as a volunteer commentedHere is the patch that implements it.
Comment #3
Nikolay Borisov CreditAttribution: Nikolay Borisov as a volunteer commentedSorry, this patch is better, since in the previous I forgot a test comment.
Comment #4
bleen CreditAttribution: bleen at NBCUniversal commentedReviewed the code and this is a great improvement ... I havent had a chance to take it for a test drive yet, but so far so good
Comment #5
Nikolay Borisov CreditAttribution: Nikolay Borisov as a volunteer commentedPerfect, I am very glad :) Thanks for the review!
Cheers,
Nikolay
Comment #7
bleen CreditAttribution: bleen at NBCUniversal commentedI committed this as two separate commits ... one for the dependency injection code and one for the coding standard fixes