You are here

public function WebformUiElementFormInterface::getKey in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_ui/src/Form/WebformUiElementFormInterface.php \Drupal\webform_ui\Form\WebformUiElementFormInterface::getKey()

Return the render element's key associated with this form.

This method allows form alter hooks to know the element's key, which is not included in the element's properties.

Return value

string The render element's key.

1 method overrides WebformUiElementFormInterface::getKey()
WebformUiElementFormBase::getKey in modules/webform_ui/src/Form/WebformUiElementFormBase.php
Return the render element's key associated with this form.

File

modules/webform_ui/src/Form/WebformUiElementFormInterface.php, line 54

Class

WebformUiElementFormInterface
Provides an interface for webform element webform.

Namespace

Drupal\webform_ui\Form

Code

public function getKey();