Skip to main content

Common field arguments

Most fields accept an argument array. Exact type-specific arguments are documented on each field page.

ArgumentPurpose
labelHuman-readable admin label.
descriptionSupporting/help text.
defaultDefault value when none is stored.
requiredRequire a valid non-empty value.
show_ifShow when conditions match.
hide_ifHide when conditions match.
condition_relationCombine multiple rules using and or or.
migrate_fromLegacy source declaration for progressive migration.

Choice fields also accept static or callable options, and supported select variants can opt into searchable.