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, when submitting the feeds_unlock_tab_form()
form, a database call is done inside the submit handler to clear the state.
Let's add a method called unlock()
to the FeedsSource class which can perform the needed task. This is inspired by the D8 version of Feeds where the \Drupal\feeds\Entity\Feed class (equivalent of FeedsSource in D7) has a method with the same name.
Patch will follow.
Comment | File | Size | Author |
---|---|---|---|
#2 | feeds-feedssource-unlock-2867189-2.patch | 1.29 KB | MegaChriz |
|
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedComment #3
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedCommitted #2.
Comment #5
MegaChriz CreditAttribution: MegaChriz as a volunteer commented