View
abstract class View extends FormView (View source)
Properties
protected | $context | from View | |
protected | $scopeItems | from View | |
protected | $label | from FormView | |
protected | $supportsLabel | from FormView | |
protected | $isRequired | from FormView | |
protected Control | $control |
Methods
Details
__construct(ContextInterface $context, Control $control)
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()
Whether the form control is required in the current form
setIsRequired(bool $isRequired)
No description
setLabel($label)
Sets the label for the current form control.
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.