You are here

public function WebformUiElementFormInterface::getParentKey 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::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.

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

File

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

Class

WebformUiElementFormInterface
Provides an interface for webform element webform.

Namespace

Drupal\webform_ui\Form

Code

public function getParentKey();