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
Passing the entity.manager service to ContentEntityForm::__construct() is deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. Pass the entity.repository service instead. See https://www.drupal.org/node/2549139.
Proposed resolution
Replace deprecated @entity.manager in FeedForm
Comment | File | Size | Author |
---|---|---|---|
#4 | interdiff.txt | 476 bytes | MegaChriz |
#4 | feeds-replace-deprected-@entity-manager-in-FeedForm-3104631-4.patch | 2.67 KB | MegaChriz |
|
Comments
Comment #2
thallesFollow a patch.
Comment #3
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedThanks for the patch! There were some coding standard issues with it, fixed this in attached patch. I also changed a few other things in FeedForm, for example I removed a piece of code that was there for compatibility with Drupal 8.2, a core version Feeds doesn't support anymore.
Comment #4
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedRemove import of Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException, since the D8.2 compatibility check was removed.
Comment #6
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedCommitted #4.