You are here

public function WebformUiElementFormBase::getParentKey in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_ui/src/Form/WebformUiElementFormBase.php \Drupal\webform_ui\Form\WebformUiElementFormBase::getParentKey()

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

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

Return value

string The render element's parent key.

Overrides WebformUiElementFormInterface::getParentKey

File

modules/webform_ui/src/Form/WebformUiElementFormBase.php, line 487

Class

WebformUiElementFormBase
Provides a base class for webform element webforms.

Namespace

Drupal\webform_ui\Form

Code

public function getParentKey() {
  return $this->parentKey;
}