Zend\Form\View\Helper\AbstractHelper::getId
Get the ID of an element
If no ID attribute present, attempts to use the name attribute. If no name attribute is present, either, returns null.
Signature
public function getId(ElementInterface
$element )
Parameters
$element
— Zend\Form\ElementInterface
Returns
- null|string