You are here

public function FormInterface::getElement in Form Builder 7.2

Get a specific element from the form.

Parameters

string $elment_id: Unique ID of the element.

Return value

\Drupal\form_builder\ElementInterface Object representing the form element.

File

src/FormInterface.php, line 75

Class

FormInterface

Namespace

Drupal\form_builder

Code

public function getElement($element_id);