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.
Add call parent submitForm in SettingsForm.
Comment | File | Size | Author |
---|---|---|---|
#2 | parent_submitForm-3068334-2.patch | 457 bytes | Sergiu Stici |
Comments
Comment #2
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere is the patch, please review.
Comment #3
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedComment #4
BarisW CreditAttribution: BarisW at LimoenGroen commentedI have no idea why this should be done. Please take a bit more time to elaborate on why an change is needed.
Comment #5
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedIt's executing a method with the same name on its parent class. This is standard fare in any language when you're dealing with inheritance, when functionality from the base class is still (or may be in the future) required.
Have a read up on Dependency Injection for a Form if this concept is unfamiliar to you.
Comment #6
BarisW CreditAttribution: BarisW at LimoenGroen commentedAlright, thanks for the info!
Comment #8
BarisW CreditAttribution: BarisW at LimoenGroen commented