AssociationView
class AssociationView 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 | $association | ||
protected | $entry | ||
protected | $allEntities | ||
protected | $selectedEntities |
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
__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()
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.
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