Click or drag to resize

IContentItemHooksTOnBeforeRollback Method


Custom hook that fires before a Content Item is rolled back to a previous version.

Namespace:  Ingeniux.CMS.Models.Hooks
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void OnBeforeRollback(
	T contentItem,
	IUserWriteSession session
)

Parameters

contentItem
Type: T
Loaded Content Item.
session
Type: Ingeniux.CMSIUserWriteSession
IUserWriteSession in which the Content Item is loaded into.
See Also