private function buildId(FormInterface $form)
    {
        $id = $form->getName();

        if (null !== $form->getParent()) {
            $id = $this->buildId($form->getParent()).'_'.$id;
        }

        return $id;
    }
private function buildId(FormInterface $form)
    {
        $id = $form->getName();

        if (null !== $form->getParent()) {
            $id = $this->buildId($form->getParent()).'_'.$id;
        }

        return $id;
    }
private function buildId ( FormInterface $ form ) { $ id = $ form -> getName ( ) ; if ( null !== $ form -> getParent ( ) ) { $ id = $ this -> buildId ( $ form -> getParent ( ) ) . '_' . $ id ; } return $ id ; }
Recursively builds an HTML ID for a form.

@return string The HTML ID
Recursively builds an HTML ID for a form .