fix: #3639481 Enabling Display Builder on a display renders it empty until the first publish

EntityViewDisplayHook::entityDisplayBuildAlter() leaves the core build alone while no source is published, as Views displays do. It also sets the template override flag itself, only when it replaces the build, so TemplateOverride no longer swaps the template on isEnabled() alone.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Closes #3639481

Merge request reports

Loading
Loading