.. include:: /Includes.rst.txt addElement() '''''''''''' Add a new form element at the end. Instead of this method, you should use ``createElement`` instead. Signature:: public function addElement(FormElementInterface $formElement);