You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content Entities revisioning and published statuses - 'EditorialContentEntityBase'
[ generate:entity:content ] When generating a content entity and selecting revisionable it would be better for it to comply with the 'EditorialContentEntityBase' which apparently is being used to has a consistent base for published statuses.
Problem/Motivation
The change happened in 8.4 and is currently used in the common entities listed. ex: taxonomy_term code
Details:
The workflow for currently generated revisionable content entities warns :
[custom entity] entities do not support publishing statuses. For example, even after transitioning from a published workflow state to an unpublished workflow state they will still be visible to site visitors.
To reproduce
Generate a custom entity and add a workflow to it.
Drupal version 8.4+.
Drupal Console version 1.8.0
Solution
Extend now content entities from EditorialContentEntityBase rather than RevisionableContentEntityBase for revisionable.
The text was updated successfully, but these errors were encountered:
Content Entities revisioning and published statuses - 'EditorialContentEntityBase'
[ generate:entity:content ] When generating a content entity and selecting revisionable it would be better for it to comply with the 'EditorialContentEntityBase' which apparently is being used to has a consistent base for published statuses.
Problem/Motivation
The change happened in 8.4 and is currently used in the common entities listed. ex: taxonomy_term code
Details:
To reproduce
Generate a custom entity and add a workflow to it.
Solution
Extend now content entities from EditorialContentEntityBase rather than RevisionableContentEntityBase for revisionable.
The text was updated successfully, but these errors were encountered: