- πΊπΈUnited States nicxvan
While this one is older the other has an MR already.
As their names suggest those constants should belong to EntityPublishedInterface
. Basically any entity type that implements EntityPublishedInterface
needs those constants.
Another issue here is that EntityPublishedTrait::isPublished()
does not respect those constants. That could be fixed like follows.
- return (bool) $this->getEntityKey('published');
+ return $this->getEntityKey('published') === self::PUBLISHED;
Closed: duplicate
11.0 π₯
entity system
Enhances developer experience.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
While this one is older the other has an MR already.