FeatureFlagsApi.registerFlag()
Home > @backstage/core-plugin-api
> FeatureFlagsApi
> registerFlag
Registers a new feature flag. Once a feature flag has been registered it can be toggled by users, and read back to enable or disable features.
Signature:
registerFlag(flag: FeatureFlag): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
flag |
void