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.
Problem/Motivation
Drupal and DrupalPractice asked dependency injection on src/Form/ManageContext.php
Proposed resolution
inject Drupal\Core\DependencyInjection\Container
Comments
Comment #2
thallesHi, Congratulations for the module!
follow my little contribution
Comment #3
thallesComment #4
joelpittetIs there a reason it's not just passing the $container itself?
Comment #5
thallesFollowing is a more appropriate patch!
Comment #6
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedFixed one wrong comment.
Comment #7
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #9
joelpittetMinor changes fixed on commit. Thanks I've pushed this to the dev branch.
Comment #10
thallesThanks!