public function WebformUiElementFormBase::getKey in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_ui/src/Form/WebformUiElementFormBase.php \Drupal\webform_ui\Form\WebformUiElementFormBase::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.
Overrides WebformUiElementFormInterface::getKey
File
- modules/
webform_ui/ src/ Form/ WebformUiElementFormBase.php, line 480
Class
- WebformUiElementFormBase
- Provides a base class for webform element webforms.
Namespace
Drupal\webform_ui\FormCode
public function getKey() {
return $this->key;
}