You are here

public function Element::key in Form Builder 7.2

Get the element’s form key.

Return value

string The element’s form key.

Overrides ElementBase::key

File

modules/webform/src/Element.php, line 46

Class

Element

Namespace

Drupal\form_builder_webform

Code

public function key() {
  return $this->element['#webform_component']['form_key'];
}