You are here

public function FormInterface::unsetElement in Form Builder 7.2

Remove an element from the form.

Parameters

string $element_id: Unique ID of the element.

File

src/FormInterface.php, line 124

Class

FormInterface

Namespace

Drupal\form_builder

Code

public function unsetElement($element_id);