Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-08-15 | (#22205) Add enum setting type | Andrew Parker | 1 | -0/+27 | |
It is often useful to be able to restrict the valid values for a setting to a known set. This adds an :enum setting type that can take a :values array, which defines the allowed values. If the value given for the setting is now found in the list of allowed values, then it will throw an error. |