Skip to content

BeechCMS


BeechCMS / @beechcms/core / parseStoredUiPreferences

Function: parseStoredUiPreferences() ​

parseStoredUiPreferences(stored): UiPreferences

Reads a stored users.ui_prefs value. Anything that is not valid JSON or not a valid container yields EMPTY_UI_PREFERENCES; never throws.

Parameters ​

stored ​

string

Returns ​

UiPreferences