FormView
abstract class FormView extends View implements FormViewInterface (View source)
Properties
protected | $context | from View | |
protected | $scopeItems | from View | |
protected | $label | ||
protected | $supportsLabel | ||
protected | $isRequired |
Methods
bool
isRequired()
No description
setIsRequired(bool $isRequired)
No description
setLabel($label)
No description
string
getLabel()
Returns the label for the current form control.
setSupportsLabel($supportsLabel)
No description
bool
supportsLabel()
Returns true if the current form control supports labeling.
Details
in
View at line 13
__construct(ContextInterface $context)
No description
in
View at line 18
addScopeItem($key, $value)
No description
in
View at line 23
getScopeItems()
No description
in
View at line 28
getView()
No description
in
View at line 36
ContextInterface
getContext()
No description
in
View at line 41
RendererInterface
getControlRenderer()
No description
bool
isRequired()
No description
setIsRequired(bool $isRequired)
No description
setLabel($label)
No description
string
getLabel()
Returns the label for the current form control.
setSupportsLabel($supportsLabel)
No description
bool
supportsLabel()
Returns true if the current form control supports labeling.