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

__construct(ContextInterface $context)

No description

from  View
addScopeItem($key, $value)

No description

from  View
getScopeItems()

No description

from  View
getView()

No description

from  View
getContext()

No description

from  View
getControlRenderer()

No description

from  View
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

__construct(ContextInterface $context)

No description

Parameters

ContextInterface $context

addScopeItem($key, $value)

No description

Parameters

$key
$value

getScopeItems()

No description

getView()

No description

ContextInterface getContext()

No description

Return Value

ContextInterface

RendererInterface getControlRenderer()

No description

Return Value

RendererInterface

bool isRequired()

No description

Return Value

bool

setIsRequired(bool $isRequired)

No description

Parameters

bool $isRequired

setLabel($label)

No description

Parameters

$label

string getLabel()

Returns the label for the current form control.

Return Value

string

setSupportsLabel($supportsLabel)

No description

Parameters

$supportsLabel

bool supportsLabel()

Returns true if the current form control supports labeling.

Return Value

bool