- Issue created by @ptmkenny
- 🇮🇳India aman1248
Hy @ptmkenny ,
In the RenameAdminPathsSettingsForm class, you're already using the ConfigFormBase class as a parent class. The ConfigFormBase class has its own constructor that you don't need to explicitly call. When you call parent::submitForm($form, $formState);, it already executes the necessary logic from the parent class constructor.
So, there's no need to explicitly call the parent constructor in your RenameAdminPathsSettingsForm class. Just keep using parent::submitForm($form, $formState); as you're doing.
- Status changed to Needs review
8 months ago 6:07am 3 May 2024 - 🇯🇵Japan ptmkenny
@Amandeep123 Do you know if there is any performance difference between calling the parent constructor in the class vs. waiting to have it called when calling parent::submitForm()?
- Status changed to Active
8 months ago 11:19am 3 May 2024 - Status changed to Closed: works as designed
5 months ago 1:23am 3 August 2024