You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/php/api/form_builder/form_fields.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,13 @@ The methods `step($step = null)` and `getStep()` can be used to set and get the
19
19
The default step for form fields with integer values is `1`.
20
20
Otherwise, the default step is `any`.
21
21
22
+
### `AbstractFormFieldDecorator`
23
+
24
+
!!! info "Only available since version 5.4.5."
25
+
26
+
`AbstractFormFieldDecorator` is a default implementation of a decorator for form fields that forwards calls to all methods defined in `IFormField` to the respective method of the decorated object.
27
+
The class implements `IFormfield`.
28
+
If the implementation of a more specific interface is required then the remaining methods must be implemented in the concrete decorator derived from `AbstractFormFieldDecorator` and the type of the `$field` property must be narrowed appropriately.
0 commit comments