Settings
Describes Setting objects.
Last updated
Was this helpful?
Describes Setting objects.
Last updated
Was this helpful?
Settings on their own are not bound to a specific and only contain the necessary properties/functions. Here are these parameters:
function
getName
Returns the Setting's name
string()
function
getSignature
Returns the path to the Setting in the config file.
string()
field
type
Setting type (currently will only be FEATURE
)
string
Setting objects can be up-casted to FeatureSetting, by using setting.as('FeatureSetting')
, if the setting was made for a feature. By default, if you're retrieiving a Setting by using , you're not required to do this - you will receive the latest object on the chain, be it a CheckboxSettting
, a ComboSetting
, etc.