validate
Validates a field's value during config loading or validation phase.
Parameters
field Value
the value of the field (may be null or blank)
config Instance
the full config object this field belongs to (can be used for cross-field validation)
Throws
if validation fails; the exception will halt the load or validation process