- Issue created by @Liam Morland
- 🇳🇿New Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies → .
Some methods in ContentEntityBase
are not represented by any interface. This means that if I want to check that a variable is a class that I can safety call this method on, I need to check that the variable implements ContentEntityBase
instead of being able to refer to an interface which other classes could also implement.
Example use case: I want to access a field value with $entity->field_myfield
. I need to verify that this will work. There is no interface that defines ContentEntityBase::__get()
.
Create ContentEntityBaseInterface
which would be implemented by ContentEntityBase
.
Implement.
None.
None.
Creation of ContentEntityBaseInterface
.
None.
Active
11.1 🔥
entity system
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies → .