Configuration

Below is the full configuration available with defaults values:

"example" => [
    "type"   => "anomaly.field_type.slider",
    "config" => [
        "min"           => 0,
        "max"           => 10,
        "step"          => 1,
        "range"         => null,
        "unit"          => null,
        "default_value" => null,
    ],
],
Configuration
Key Example Description

min

-100

The minumum value selectable.

max

100

The maximum value selectable.

step

5

The interval between selectable values.

range

true

The range mode. Valid options are false, true, min, and max.

unit

Units

The unit label.

default_value

50,75

The default value.