Manual:Hooks/ConvertContent

Details

 * $content: The Content to be converted.
 * $toModel: The ID of the content model to convert to.
 * $lossy: boolean indicating whether lossy conversion is allowed.
 * &$result: Output parameter, in case the handler function wants to provide a converted Content object. Note that $result->getContentModel must return $toModel.