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.
Right now the methods FeedsSource::import()
and FeedsSource::pushImport()
both perform the same tasks when the import task is done, with the exception that FeedsSource::pushImport()
doesn't invoke the rules event 'feeds_after_import' (which I think it should do).
Let's combine these tasks that need to be done at the end of an import into one method: FeedsSource::finishImport()
.
This is inspired by the D8 version of Feeds where the \Drupal\feeds\Entity\Feed class (equivalent of FeedsSource in D7) also has a method with the same name.
Patch will follow.
Comment | File | Size | Author |
---|---|---|---|
#2 | feeds-finish-import-2867182-2.patch | 2.3 KB | MegaChriz |
|
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedComment #4
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedCommitted #2.