Skip to main content

conditionContextKey

function

Build the workbench context key a mod's condition is published under. The host calls this while registering contributions so `when` clauses in the manifest can name the condition. Mod authors reference the condition value itself and never need the key.

function conditionContextKey(extensionId: string, conditionId: string): string

Import

import { conditionContextKey } from '@modular/sdk';

Notes

category
State