Skip to content

CorePluginToggleComponentConstructorParams.shouldCallOnDisableOnUnload?

CorePluginToggleComponentConstructorParams › shouldCallOnDisableOnUnload?

Type: boolean

Whether onDisable also runs when this component unloads while the core plugin is enabled, so every onEnable is balanced by one onDisable. Defaults to false: the core plugin did not change, so a consumer that republishes transitions must not see one.