Documentation
    Preparing search index...

    Interface DefineCapabilityOptions

    Options for defineCapability.

    interface DefineCapabilityOptions {
        revocable?: boolean;
    }
    Index
    revocable?: boolean

    Whether a plugin that acquired this capability may be uninstalled. Defaults to false.

    Set it only where the underlying registry really has removal and that removal is safe to perform twice — SystemRegistry.unregister qualifies; ComponentSerializerRegistry, which throws on a duplicate precisely so a document's shape cannot depend on evaluation order, does not.