Zend\Form\View\Helper\AbstractHelper::prepareAttributes
Prepare attributes for rendering
Ensures appropriate attributes are present (e.g., if "name" is present, but no "id", sets the latter to the former). Removes any invalid attributes
Signature
protected function prepareAttributes(array
$attributes )
Parameters
$attributes
— array
Returns
- array