AuthorView
class AuthorView extends View (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 | from View |
Methods
string|null
getControlID()
Returns the ID of the current form control – may return null if the form control doesn't need it.
createTemplateLocator()
No description
Details
in
View at line 15
__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.
string|null
getControlID()
Returns the ID of the current form control – may return null if the form control doesn't need it.
TemplateLocator
createTemplateLocator()
No description