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
To fix issue https://www.drupal.org/node/2669802 we added optional services to ContentEntityForm. All forms extending it should inject the services as well.
Proposed resolution
Change all forms extending ContentEntityForm.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2835515-2.patch | 12.99 KB | seanB |
Comments
Comment #2
seanBI think this should be all of them. I saw the constructor in ProfileForm doesn't actually add anything, so I removed it. I could create a seperate issue for that, but maybe we can just fix it here.
Comment #3
BerdirLooks straight-forward.
Comment #4
alexpottAll methods that override
\Drupal\Core\Entity\ContentEntityForm::__construct()
have been fixed. Nice tidy up and nice the this in done in a BC friendly way.Committed ad4629a and pushed to 8.3.x. Thanks!
Removed all these unused uses on commit.