Skip to content

PreferencesBuilder🔗

Constructor🔗

new PreferencesBuilder()

Methods🔗

build🔗

Builds the object.

build()

cookiePreferences🔗

Cookie preferences

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Preferences\CookiePreferences> $cookiePreferences

cookiePreferences(\Grafana\Foundation\Cog\Builder $cookiePreferences)

homeDashboardUID🔗

UID for the home dashboard

homeDashboardUID(string $homeDashboardUID)

language🔗

Selected language (beta)

language(string $language)

Navigation preferences

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Preferences\NavbarPreference> $navbar

navbar(\Grafana\Foundation\Cog\Builder $navbar)

queryHistory🔗

Explore query history preferences

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Preferences\QueryHistoryPreference> $queryHistory

queryHistory(\Grafana\Foundation\Cog\Builder $queryHistory)

theme🔗

light, dark, empty is default

theme(string $theme)

timezone🔗

The timezone selection

TODO: this should use the timezone defined in common

timezone(string $timezone)

weekStart🔗

day of the week (sunday, monday, etc)

weekStart(string $weekStart)

See also🔗