- Issue created by @grota
- Merge request !49Issue #3424325: getFormObject should use Entity's 'entity_browser' form class from annotation → (Open) created by grota
I expected to be able to use hook_entity_type_alter
to override the entity_form form class to use a custom one with: $et->setFormClass('entity_browser', MyClass::class)
and indeed it changes the metadata but it is not used because the entity class uses its own property. One could override the class itself but probably using the form class is more idiomatic.
As described above hook_entity_type_alter does not have any actual effect on the class used.
A MR is listed.
None
None
None
Active
2.0
Miscellaneous