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

    Interface UmbBlockAction<ArgsMetaType>

    interface UmbBlockAction<ArgsMetaType> {
        args: UmbBlockActionArgs;
        destroy(): void;
        execute(): Promise<void>;
        getHref(): Promise<string | undefined>;
        getValidationDataPath(): Promise<string | undefined>;
    }

    Type Parameters

    • ArgsMetaType

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    Methods

    • Optional validation data path for displaying an invalid badge on the action button. When provided, the default kind element creates a validation state controller and renders a badge when validation messages exist at the given path.

      Returns Promise<string | undefined>