Convert Entity to EntityBase for consistency with ContentEntityBase and ConfigEntityBase

Created on 8 January 2013, almost 12 years ago
Updated 12 September 2023, about 1 year ago

Problem/Motivation

Currently we have the abstract classes Entity, ContentEntityBase and ConfigEntityBase. Both ContentEntityBase and ConfigEntityBase extend from Entity. The naming of the abstract class Entity is inconsistent with the naming of the other classes.

We use the *Base naming convention at many places - for example WidgetBase, EntityDisplayBase, EntityReferenceFormatterBase, FormatterBase and many others ...

Proposed resolution

  1. Rename Entity to EntityBase.
  2. Provide a class Entity in the same namespace for backwards compatibility, but flag it as deprecated.

Remaining tasks

Review.

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

8.7 ⚰️

Component
EntityΒ  β†’

Last updated 1 day ago

Created by

πŸ‡ΊπŸ‡ΈUnited States xjm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024