Ref #3191588: Move plugin cache clear from preSave to postSave

Clear plugin manager cached definitions after the entity is persisted, not before. This follows core patterns (BlockContent, Menu, LayoutBuilderEntityViewDisplay) and prevents a race where definitions could be rebuilt and cached without the new entity.

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

Closes #3433302

Merge request reports

Loading