What it does.
Entity classes override gives developers an administrative view of class substitutions across content entities. Its source compares original and active classes so a developer can inspect where entity behavior has been customized.
The configuration supports entity classes, bundle classes and entity-form classes. An included example module demonstrates the approach, while the settings form validates proposed overrides and records them in Drupal configuration.
Capabilities.
- Inspection of original and active entity classes
- Entity, bundle and form class overrides
- Configuration-backed override management
- Example module with node and bundle classes
- Validation of proposed class substitutions
Using the module.
- Open admin/entity-classes-override/settings with site-configuration permission.
- Provide the entity type, override type, applicable bundle or form operation, and class name.
- Use the included example module to understand the extension pattern.
Project notes.
Bundle classes must extend the active entity class. No recommended release appears on the project page.
Our contribution.
Listed supporting organization.
This records WS’s contribution to this community project, alongside its other contributors. View the organization’s supported projects ↗