AdHocVariableBuilder🔗
Constructor🔗
Methods🔗
build🔗
Builds the object.
allowCustomValue🔗
Allow custom values to be entered in the variable
datasource🔗
Data source used to fetch values for a variable. It can be defined but null.
definition🔗
description🔗
Description of variable. It can be defined but null.
hide🔗
Visibility configuration for the variable
label🔗
Optional display name
name🔗
Name of variable
staticOptions🔗
Additional static options for query variable
@param array<\Grafana\Foundation\Dashboard\VariableOption> $staticOptions
staticOptionsOrder🔗
Ordering of static options in relation to options returned from data source for query variable
staticOptionsOrder(\Grafana\Foundation\Dashboard\VariableModelStaticOptionsOrder $staticOptionsOrder)