validateSettings()
Overview
public any function validateSettings(
required string provider
, required struct settings
, any validationResult
)
Validates the provided settings. Returns a Validation framework validationResult object with any validation errors.
Arguments
Name | Type | Required | Description |
---|---|---|---|
provider | string | Yes | Provider whose settings we are to validate |
settings | struct | Yes | Struct of settings to validate |
validationResult | any | No | Pre-initialized validationResult object - any validation results will be added to this object and returned |