Zend\Form\Element::setOptions
Set options for an element. Accepted options are: - label: label to associate with the element - label_attributes: attributes to use when the label is rendered - label_options: label specific options
Signature
public function setOptions(array|Traversable
$options )
Parameters
$options
— object
Returns
- Element|ElementInterface