Enum ContentTypeChangeTypes
Represents the types of changes that can occur on a content type.
Namespace: Umbraco.Cms.Core.Services.Changes
Assembly: Umbraco.Core.dll
Syntax
[Flags]
public enum ContentTypeChangeTypes : ushort
Remarks
The base flags (RefreshMain and RefreshOther) represent coarse-grained structural vs non-structural change categories. The granular flags (e.g. AliasChanged, PropertyRemoved) include their parent flag via bitwise OR, so existing consumers that only check for RefreshMain or RefreshOther continue to work unchanged.
Fields
| Name | Description |
|---|---|
| AliasChanged | The content type alias was changed. |
| CompositionAdded | One or more compositions were added to the content type. |
| CompositionRemoved | One or more compositions were removed from the content type. |
| Create | Item type has been created, no impact. |
| None | No change has occurred. |
| PropertyAdded | One or more property types were added to the content type. |
| PropertyAliasChanged | One or more property type aliases were changed. This effectively corresponds to removing and re-adding a property type. |
| PropertyRemoved | One or more property types were removed from the content type. |
| PropertyVariationChanged | The variation setting of one or more property types changed (e.g., from invariant to variant or vice versa). |
| RawDataUnaffected | Supplements RefreshMain to indicate that, although the change is structural, the raw
content data stored in the database cache ( |
| RefreshMain | Content type changes directly impact existing content of this content type. |
| RefreshOther | Content type changes that do not directly impact existing content of this content type. |
| Remove | Content type was removed. |
| VariationChanged | Content type variation setting has changed (e.g., from invariant to variant or vice versa). This impacts how URL segments and aliases are stored (NULL languageId for invariant, specific ID for variant). |