The fixup Callback
The fix-up callback is always called just before compose_for_type runs the content pipeline. This is the final opportunity to get operation-specific parameters set correctly before the content pipeline runs.
comp_type::fixup_cb(doc, params)
doc
is the document being published
params
is the parameter array
-1
error detected, error message was logged
0
error detected, no message was logged
1
success
2
processing should continue, but compose_for_type should skip running the content pipeline
这对您有帮助吗?