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

    Class UmbBlockEntryContext<BlockManagerContextTokenType, BlockManagerContextType, BlockEntriesContextTokenType, BlockEntriesContextType, BlockType, BlockLayoutType, BlockOriginData>Abstract

    Type Parameters

    Hierarchy (View Summary)

    Index
    _blockType: UmbObjectState<BlockType | undefined> = ...
    _contentStructureHasProperties: Observable<boolean | undefined> = ...
    _contentValueArray: Observable<UmbBlockDataValueModel<unknown>[] | undefined> = ...
    _layout: UmbObjectState<BlockLayoutType | undefined> = ...
    _settingsValueArray: Observable<UmbBlockDataValueModel<unknown>[] | undefined> = ...
    _variantId: Observable<UmbVariantId | undefined> = ...
    actionsVisibility: Observable<boolean> = ...
    blockType: Observable<BlockType | undefined> = ...
    contentElementTypeAlias: Observable<string | undefined> = ...
    contentElementTypeIcon: Observable<string | undefined> = ...
    contentElementTypeKey: Observable<string | undefined> = ...
    contentElementTypeName: Observable<string | undefined> = ...
    contentKey: Observable<string | undefined> = ...
    contentTypeKey: Observable<string | undefined> = ...
    createAfterPath: Observable<string | undefined> = ...
    createBeforePath: Observable<string | undefined> = ...
    externalContentFailure: Observable<
        UmbBlockExternalContentFailureReason
        | undefined,
    > = ...

    Why the external content of this Block is unavailable. undefined while it is available or not yet resolved.

    externalContentName: Observable<string | undefined> = ...

    Observable of the name of the Element this block references, matching the current variant. Undefined for local (non-external) blocks, or before the Element has resolved.

    externalContentVariantState: Observable<string | undefined> = ...
    hasExpose: Observable<boolean | undefined> = ...

    Whether the local expose entry exists. Prefer isExposed to determine rendered publish state.

    index: Observable<number | undefined> = ...
    isAllowedInLibrary: Observable<boolean | undefined> = ...
    isExposed: Observable<boolean | undefined> = ...

    Whether the block is currently published/exposed. For a block backed by external (library element) content, this reflects that content's own variant state rather than the local expose entry.

    isExternalContent: Observable<boolean> = ...
    label: Observable<string> = ...
    layout: Observable<BlockLayoutType | undefined> = ...
    localize: UmbLocalizationController<UmbKnownLocalizationSet> = ...
    name: Observable<string> = ...

    Observable of the block's resolved label text (UFM rendered as plain text).

    readOnlyGuard: UmbReadOnlyVariantGuardManager = ...
    settingsElementTypeKey: Observable<string | null | undefined> = ...
    settingsKey: Observable<string | null | undefined> = ...
    showContentEdit: Observable<boolean>
    unique: Observable<string | undefined> = ...
    unsupported: Observable<boolean | undefined> = ...
    workspaceEditContentPath: Observable<string> = ...
    workspaceEditSettingsPath: Observable<string> = ...
    workspacePath: Observable<string | undefined> = ...
    • The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.

      MDN Reference

      Parameters

      • type: string
      • callback: EventListenerOrEventListenerObject | null
      • Optionaloptions: boolean | AddEventListenerOptions

      Returns void

    • The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().

      MDN Reference

      Parameters

      • event: Event

      Returns boolean

    • The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.

      MDN Reference

      Parameters

      • type: string
      • callback: EventListenerOrEventListenerObject | null
      • Optionaloptions: boolean | EventListenerOptions

      Returns void

    • Function

      Set the contentKey of this entry. setContentKey

      Parameters

      • contentKey: string

        the entry content key.

      Returns void

      Use setKey instead. Will be removed in Umbraco 20.

    • Set the resolved name text. Intended to be called by the block entry element when its canonical <umb-ufm-render> reports updated text via umb-ufm-resolved.

      Parameters

      • text: string

        the resolved text.

      Returns void