Skip to content

PluginSettingsComponentBase.loadFromFile method

PluginSettingsComponentBase › loadFromFile

Loads the plugin settings from the file.

Signature:

loadFromFile(isInitialLoad: boolean): Promise<void>

Parameters:

ParameterTypeDescription
isInitialLoadbooleanWhether the settings are being loaded for the first time. Only the initial load writes the normalized record back to data.json; a reload applies it in memory only.

Returns: Promise<void> — A Promise that resolves when the settings are loaded.