Skip to contents

The inverse of format_options_ui(): collects the fields into the named list a block carries as its options, dropping every value still at its declared default so an untouched block stays empty.

Usage

format_options_values(input, specs)

Arguments

input

The module's input.

specs

Named list of format_opt specs.

Value

Named list of option values; empty when nothing deviates.