Ensures entity has published key before setting status
Compare changes
@@ -615,7 +615,7 @@ class ContentEntitySource extends SourcePluginBase implements SourcePreviewInter
Checks if the entity type has a 'published' key before attempting to set the published status.
This prevents potential errors when dealing with entities that do not support or define a published status field.
Closes #3516599