You are here

public function Element::title in Form Builder 7.2

Get a human-readable title for this form element.

Overrides ElementBase::title

File

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

Class

Element

Namespace

Drupal\form_builder_webform

Code

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