HBS_VALIDATION_RESULTS
Returns the Extbase validation results for the current renderable. Without an
output
instruction the raw
Result
object is returned.
Output instructions
| Name | Type |
|---|---|
| string instruction | |
| string instruction | |
| string instruction | |
| string instruction | |
| string instruction |
-
- Type
- string instruction
Iterates over every error and processes each with the sub-configuration in
output. On composite renderables the result is a dictionary keyed by property path; on leaf elements it is a flat list.
-
- Type
- string instruction
Iterates over renderables that have at least one error. Processes each with the sub-configuration, then passes the result through a second round of
process-resolution so nestedform HBS_*objects are resolved too. The result is a dictionary keyed by property path.
-
- Type
- string instruction
Returns the translated message for the first error in the result set.
-
- Type
- string instruction
Returns
trueif the result set contains at least one error,falseotherwise.
-
- Type
- string instruction
Returns a property from the
Resultobject. Requiresoutput.to be set.property Path
Example
errors = HBS_VALIDATION_RESULTS
errors {
output = EACH_RENDERABLE
output {
label = HBS_LABEL
message = HBS_VALIDATION_RESULTS
message.output = ERROR_MESSAGE
}
}