- ๐ฎ๐ณIndia AditiVB
Aditi Saraf โ made their first commit to this issueโs fork.
- ๐ฌ๐งUnited Kingdom longwave UK
Should we add a runtime assertion so anyone who makes this mistake gets a better error message?
- Assigned to AditiVB
- Issue was unassigned.
- ๐ฌ๐งUnited Kingdom joachim
I can still see the call to setModuleHandler in getFormObject(), which AFAICT isn't in FormBase.
- ๐ง๐ชBelgium xdequinze Brussels
@joachim, I am trying to understand the issue. Would you like to provide more details about it ? What are you trying to achieve ?
- ๐ฌ๐งUnited Kingdom joachim
If you define a route that uses an entity form, you use '_entity_form' in the route definition, and set a form class name as a value.
If your form class inherits the standard form class base, it crashes.
The docs for _entity_form in entity.api.php should say that you need to use a specific base class.