- Issue created by @trackleft2
- Status changed to Closed: won't fix
9 months ago 7:03pm 19 August 2024 - ๐บ๐ธUnited States trackleft2 Tucson, AZ ๐บ๐ธ
I was wrong about this, EntityForm is the correct, I was confused.
The current implementation of the Environment Indicator configuration form extends EntityForm
. While this approach works, it does not align with Drupalโs best practices for handling configuration entities. Since the EnvironmentIndicator
entities are configuration entities, the form should extend ConfigFormBase
to ensure consistency and proper management of configuration data.
EntityForm
.ConfigFormBase
instead of EntityForm
.EnvironmentIndicatorForm
class to extend ConfigFormBase
instead of EntityForm
.ConfigFormBase
.EnvironmentIndicatorForm
to extend ConfigFormBase
.EnvironmentIndicator
configuration entity.No significant UI changes are expected. The form should function the same from the user's perspective.
The form class will now extend ConfigFormBase
instead of EntityForm
. This may impact how the form is instantiated or extended in custom implementations.
No data model changes are expected as a result of this change.
Closed: won't fix
4.0
Code
I was wrong about this, EntityForm is the correct, I was confused.