@umbraco-cms/backoffice
    Preparing search index...

    Type Alias UmbBlockPropertyValueClonerArgs

    type UmbBlockPropertyValueClonerArgs = {
        contentIdUpdatedCallback?: (
            oldContentKey: string,
            newContentKey: string,
        ) => void;
        layoutKeyUpdatedCallback?: (
            oldLayoutKey: string | undefined,
            newLayoutKey: string,
            contentKey: string,
        ) => void;
    }
    Index
    contentIdUpdatedCallback?: (
        oldContentKey: string,
        newContentKey: string,
    ) => void
    layoutKeyUpdatedCallback?: (
        oldLayoutKey: string | undefined,
        newLayoutKey: string,
        contentKey: string,
    ) => void

    Called when a cloned layout entry gets a new key. Called for external content as well, and before contentIdUpdatedCallback.

    Type Declaration

      • (
            oldLayoutKey: string | undefined,
            newLayoutKey: string,
            contentKey: string,
        ): void
      • Parameters

        • oldLayoutKey: string | undefined

          The key of the original layout entry.

        • newLayoutKey: string

          The key of the cloned layout entry.

        • contentKey: string

          The content key of the original layout entry, from before it is renewed.

        Returns void