Page MenuHomePhabricator

[StructuredNavigation extension] Move Content::prepareSave method that don't belong in Content to ContentHandler
Open, Needs TriagePublic

Description

We moving Content methods ::prepareSave to ContentHandler on core Patch

So we also need to do it with NavigationContent content that extend it in StructuredNavigation extension.
The idea is to override method validationForRevision in NavigationContentHandler and move implementation of NavigationContent:: prepareSave there.

Event Timeline

Aklapper renamed this task from Move Content::prepareSave method that don't belong in Content to ContentHandler to [StructuredNavigation extension] Move Content::prepareSave method that don't belong in Content to ContentHandler.Oct 9 2023, 1:25 PM
Aklapper added a subscriber: SamanthaNguyen.