PyContentItemPostPublishHookBase
class PyContentItemPostPublishHookBase
Bases: Generic
[TPublish
, TResult
]
Generic base class for single item post publish hooks.
__init__()
Methods
__init__ () |
|
---|---|
execute (ctx) |
Executes a hook callback. |
execute(ctx)
Executes a hook callback.
Args: : ctx: The input context from the migration engine or previous hook.
Returns: : The context, potentially modified to pass on to the next hook or migration engine, or None to continue passing the input context.
- Parameters: ctx (PyContentItemPostPublishContext *[*TPublish , TResult ])
- Return type: PyContentItemPostPublishContext[TPublish, TResult]